This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
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)
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 41 | |
| 40 | |
| 36 | |
| 22 | |
| 15 |
| User | Count |
|---|---|
| 75 | |
| 61 | |
| 34 | |
| 30 | |
| 25 |