Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hello, everyone.
I'm setting a area chart visual and I need it to show decimals in the data label rounded down. See below:
Visual with decimals
Here, visual with decimals set to 0:
As i said, in the chart area visual it shows the value rounded up, i would like it to be rounded down. Is it possible?
Thank you in advance!
Solved! Go to Solution.
Hi @WilliamAzevedo
Please use TRUNC or INT function for ROUND in line chart
Details - https://learn.microsoft.com/en-us/dax/int-function-dax
Let me know if that works for you
If your requirement is solved, please mark THIS ANSWER as SOLUTION ✔️ and help other users find the solution quickly. Please hit the Thumbs Up 👍 button if this comment helps you.
Thanks
Pijush
Linkedin
But based on the idea you gave, I set a measure to apply the TRUNC function to the SUM function in the rows an it worked as I expected:
Rounding = TRUNC(SUM(Table[Column to be rounded]))
Thank you for the help and the input!
Hi @WilliamAzevedo
Please use TRUNC or INT function for ROUND in line chart
Details - https://learn.microsoft.com/en-us/dax/int-function-dax
Let me know if that works for you
If your requirement is solved, please mark THIS ANSWER as SOLUTION ✔️ and help other users find the solution quickly. Please hit the Thumbs Up 👍 button if this comment helps you.
Thanks
Pijush
Linkedin
Hi!
I'm sorry if it's too obvious, but, where should I use it?
Hi @WilliamAzevedo
Create a calculated column
Let me know if that works for you
If your requirement is solved, please mark THIS ANSWER as SOLUTION
But based on the idea you gave, I set a measure to apply the TRUNC function to the SUM function in the rows an it worked as I expected:
Rounding = TRUNC(SUM(Table[Column to be rounded]))
Thank you for the help and the input!
It dindn't. Since the rounding was applied to each value, it affected my final results:
I would like it to be applied only in the value label.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
User | Count |
---|---|
85 | |
83 | |
66 | |
61 | |
58 |
User | Count |
---|---|
194 | |
111 | |
105 | |
79 | |
71 |