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.
I am pretty much a Power BI newbie, exploring and figuring things out as I go along. I have a measure which uses the DOLLARFR function to represent data as a fractional notation - in this case thirds. This works amazingly in general but on occasion it fails to convert 3 thirds into a whole number i.e. data shows up as 5.3 (5 and 3 thirds) instead of 6?
I have a column [OutCount] populated with count data and divided by 3 so that a decimal value is available and each "count" is 0.3333...
I then have the following measure to sum that decimal data and convert into fractional notations:
This looks like it's probably a rounding issue, I suspect the 5.3 is actually just under 5.3 by a version small fraction. See the following test data:
Hi @VS-DF
I tested the measure Fraction. It is working perfectly. When I use DOLLARFR(6.000,3) it gives me 6.0
My guess is the sum(sum('Table'[OutCount]) is evaluating to 5.999 which when used with the Fraction measure it evaluates to 5.3.
See if you can round the SUM(Table(Count) ) before passing it to Fraction measure.
Cheers
CheenuSing
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 |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |