Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi Power BI Community,
I'm encountering an issue with a calculated column in my Power BI report that's yielding inconsistent results despite what appears to be identical conditions for the calculation. I would greatly appreciate any insights or assistance you can provide.
Issue Summary:
I have a calculated column named "Istoday" with the formula:
Istoday = IF([ETA Date] = [NZ Diagnostic Date], 0, 1)
Both "ETA Date" and "NZ Diagnostic Date" are supposed to be DATE only values. However, despite some rows having identical values for "ETA Date" and "NZ Diagnostic Date", the "Istoday" column returns different results (0 in some cases, 1 in others).
Additional Context:
Troubleshooting Steps Taken:
Questions:
Thank you in advance for your help! Any guidance on how to address these inconsistencies or suggestions for alternative approaches would be highly valuable.
Solved! Go to Solution.
Hey thanks for the tip! After considering this i altered the calculation to utilise DATEDIFF instead as that should explicity only compare the date parts together and its now behaving as expected!
Istoday = IF(DATEDIFF([ETA Date], [NZ Diagnostic Date], DAY) = 0, 0, 1)
Istoday = IF(DATEVALUE([ETA Date]) = DATEVALUE([NZ Diagnostic Date]), 0, 1)
Hint: There is no "Date" or "Time" or "Duration" column type in VertiPaq. It's always DateTime behind the scenes.
Hey thanks for the tip! After considering this i altered the calculation to utilise DATEDIFF instead as that should explicity only compare the date parts together and its now behaving as expected!
Istoday = IF(DATEDIFF([ETA Date], [NZ Diagnostic Date], DAY) = 0, 0, 1)
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 23 | |
| 23 | |
| 17 | |
| 13 | |
| 13 |
| User | Count |
|---|---|
| 63 | |
| 41 | |
| 39 | |
| 38 | |
| 38 |