Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hello,
I'm using this very basic measure:
I don't understand why it's returning 0...
Thanks a lot for your help
Regards
@Anonymous , Sound strange. Please check there is no page level, or visual level filter.
data type is decimal or whole number.
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Hello,
Thank you for your reply.
I double checked and there's no filters applied.
Data type is decimals.
I'm using DirectQuery so I can only display data in visuals as I've done with the screenshot. It's mainly populated with high numbers so I don't really understand what can explain this zero result.
But on the Micorsoft documentation I found that:
This function is not supported for use in DirectQuery mode when used in calculated columns or row-level security (RLS) rules.
There's no RLS but I'm not sure about the first point, what does it means exactly?
HI @Anonymous,
What type of value are you calculated on? AFAIK, current power b cannot directly use aggregation function on date or time values. I'd like to suggest you convert them to numeric values first and use the aggregate function to calculate.
For aggregate duration values, you can take a look at the following blog:
>>This function is not supported for use in DirectQuery mode when used in calculated columns or row-level security (RLS) rules.
In direct query mode, power bi has limited DAX function usage when you are trying to create calculated column/table expressions. Please use measure expression instead.
BTW, please also check the decimal place to confirm if the result value is less than 1 and show with 0 decimal places.
Regards,
Xiaoxin Sheng
Hello, thank you for your answer 🙂
The data type is already decimals not date or time.
I checked the decimals and there's no hidden numbers.
Thank you
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 79 | |
| 48 | |
| 35 | |
| 31 | |
| 27 |