Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Hello, I'm facing an issue where the counter is always at 0 when i'm looking at the daily report.
for example this is the measure:
Solved! Go to Solution.
It seems like you’re having trouble with a DAX measure in Power BI. The measure you’ve provided should count the distinct OrderIDs for the current day at station 30. If it’s returning 0, here are a few things to check:
If all the above are correct, try debugging by breaking down the measure and checking each part individually. For example, you can create a measure to check if NIMI_CALENDAR[# IsCurrentDay] is working as expected:
# Test_CurrentDay = CALCULATE( COUNTROWS(NIMI_CALENDAR), NIMI_CALENDAR[# IsCurrentDay] = 1 )
This will give you the count of rows in NIMI_CALENDAR where # IsCurrentDay is 1. If this returns 0, then the issue might be with the NIMI_CALENDAR[date] = TODAY() part of your # IsCurrentDay measure.
Remember to check the data type of the date column in NIMI_CALENDAR and ensure it’s a date type without a time component, as TODAY() returns only the date part. If the issue persists, please provide more details about your data model and the context in which you’re using the measure.
It seems like you’re having trouble with a DAX measure in Power BI. The measure you’ve provided should count the distinct OrderIDs for the current day at station 30. If it’s returning 0, here are a few things to check:
If all the above are correct, try debugging by breaking down the measure and checking each part individually. For example, you can create a measure to check if NIMI_CALENDAR[# IsCurrentDay] is working as expected:
# Test_CurrentDay = CALCULATE( COUNTROWS(NIMI_CALENDAR), NIMI_CALENDAR[# IsCurrentDay] = 1 )
This will give you the count of rows in NIMI_CALENDAR where # IsCurrentDay is 1. If this returns 0, then the issue might be with the NIMI_CALENDAR[date] = TODAY() part of your # IsCurrentDay measure.
Remember to check the data type of the date column in NIMI_CALENDAR and ensure it’s a date type without a time component, as TODAY() returns only the date part. If the issue persists, please provide more details about your data model and the context in which you’re using the measure.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.
User | Count |
---|---|
9 | |
8 | |
6 | |
4 | |
3 |