Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
Sometimes I'm finding that dax filters treat less than conditions as "less than or equal to". I've managed to recreate the issue in a mockup below
I have 3 records, each of which have % billable hours of 40%. When I filter by less than 40% then one of the rows still appears in the right hand table. Please do you know why? (I do think think the calculation is exactly 40.00% so I don't think it's a rounding issue ??!)
Many thanks for your help,
CW
Hi @PowerWhy
Using Round function on the result seems to resolve this error.
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
My mistake, you are correct.
This certainly appears to be a bug - https://dax.do/wdpI15j9yJxHHp/. You should raise it with Microsoft.
sorry it is 688.8 not 688 ?
It's a rounding issue. 688 / 1722 = 0.39953....
If you want to ignore so many decimal places you could change your measure to be
% Billable hours, measure = ROUND( divide(calculate(sum('Test table'[Billed Hours])),calculate(sum('Test table'[Hours Worked])),0),2)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
106 | |
98 | |
80 | |
67 | |
63 |
User | Count |
---|---|
145 | |
111 | |
104 | |
84 | |
64 |