Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hello Community Team,
I am having struggles with rounding the numbers. I don't want it to round after 2 decimals, but I am unsure of the dax grammar to make it so. Please find the snapshot. Unfortunately, explaining to the management team rounding issues, it still confuses them.
I would just like the Share Change= 0.9 - 1.0 = -0.1 (not the -0.2 shown from rounding).
My share formulas are:
Share Change = [Current Share] - [LY Share]
Solved! Go to Solution.
Hi @9kRPM
If you would like the value of Share Change displayed in the visual to be equal to the difference between the displayed (i.e. rounded) values of Current Share and LY Share, I would suggest:
Share Change display =
ROUND ( [Current Share], 1 ) - ROUND ( [LY Share], 1 )
I would suggest just using this measure for display in visuals, but use the original Share Change in any calculations.
Does this work for you?
Regards
That worked perfectly Owen! You're awesome! Thank you. I didn't know you could use the round function in a simple calc like that.
Hi @9kRPM
If you would like the value of Share Change displayed in the visual to be equal to the difference between the displayed (i.e. rounded) values of Current Share and LY Share, I would suggest:
Share Change display =
ROUND ( [Current Share], 1 ) - ROUND ( [LY Share], 1 )
I would suggest just using this measure for display in visuals, but use the original Share Change in any calculations.
Does this work for you?
Regards
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
21 | |
20 | |
19 | |
13 | |
12 |
User | Count |
---|---|
41 | |
27 | |
23 | |
22 | |
22 |