---
title: "Chris Jones (@cjfjones) | Hashnode"
description: "Chris Jones (@cjfjones) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@cjfjones"
---

@cjfjones

# Chris Jones

@cjfjones · Joined April 2024

## Comments

[Not sure if your experience was different, however I had to drop the .date off the following two statements to work correctly as the comparison wasn't returning true for Today. df\['IsTodayFlag'\]=(df\['Date'\] == today).astype(int) df\['IsToday'\] = np.where(df\['Date'\] == today, 1, 0) Hope this helps - Chris Jones](https://hashnode.com/posts/comprehensive-date-dimension-table-for-power-bi-datasets-in-fabric/646f6ff9861e784832cfcfb0/comment/662235cc9447d96aad4ccec3)

Comment · Article · Apr 19, 2024 · [Comprehensive Date Dimension Table For Power BI Datasets in Fabric](https://hashnode.com/posts/comprehensive-date-dimension-table-for-power-bi-datasets-in-fabric/646f6ff9861e784832cfcfb0)
