Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hello,
I am having an issue producing the correct output.
In the picture above, all values are individual KPI visuals. I have a calculated metric for 3.4 Audience Spend (Avg.) which is 3.2 / 3.1, which produces $6.09 in the 2nd column and $6.06 in the 3rd column. Both of these values are set to Currency in the data modelling tab with 2 decimals configured.
In the 5th column, the $0.03 highlighted is the difference between $6.09 and $6.06.
Now, the number circled in red is supposed to be percentage change between these two calculated measures (i.e. ($6.09 - $6.06) / $6.06), which is, rounded to 2 decimals, 0.5%, however as you can see the measure is showing 0.53%.
I believe Power BI is not rounding for 2 decimals in the measures that are being used in the calculation for the lift measure. How do I fix this to show 0.5%?
Solved! Go to Solution.
@Anonymous I don't believe you can change the rounding of the actual number just of the number in the visual. If you just want to show 0.5% you'll have to change the rounding of the number of decimals in the modeling tab to 1.
You may be able to write code in power query to round the numbers coming in, but that is outside my knowledge.
@Anonymous I don't believe you can change the rounding of the actual number just of the number in the visual. If you just want to show 0.5% you'll have to change the rounding of the number of decimals in the modeling tab to 1.
You may be able to write code in power query to round the numbers coming in, but that is outside my knowledge.
I believe you are right @cmilligan262 , you cannot change the rounding of the actual number. Instead used ROUND() function within my measure.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 56 | |
| 39 | |
| 35 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 73 | |
| 70 | |
| 37 | |
| 35 | |
| 26 |