Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
7 | |
7 | |
6 | |
6 |
User | Count |
---|---|
27 | |
12 | |
10 | |
9 | |
6 |