Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
prakash11440278
Post Prodigy
Post Prodigy

2 Significant Figures

Hi PBI Experts,

 

How to calculate 2 Significant Figures in Dax expressions. 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@prakash11440278 ,The information you have provided is not making the problem clear to me. Can you please explain with an example.
Are you taking about data format in meausre/column tools

Data Format New Rib.pngData format Sci.png


Appreciate your Kudos.

View solution in original post

6 REPLIES 6
MartaGS_S
New Member

Hi @prakash11440278 @Romano321 @manutremo I've created a function in power query to round to significant figures and post it here: https://community.fabric.microsoft.com/t5/Power-Query/Round-to-Significant-Figures-using-Power-Query...

 

let me know if you have any issue accesing or using it

Romano321
New Member

manutremo
Frequent Visitor

Hi, struggling with the same issue, any suggestions?

manutremo
Frequent Visitor

Hi, struggling with the same topic, any suggestion?

amitchandak
Super User
Super User

@prakash11440278 ,The information you have provided is not making the problem clear to me. Can you please explain with an example.
Are you taking about data format in meausre/column tools

Data Format New Rib.pngData format Sci.png


Appreciate your Kudos.

Hi @amitchandak ,

When rounding significant figures the standard rules of rounding numbers apply, except that non-significant digits to the left of the decimal are replaced with zeros.

Example: 356 rounded to 2 significant digits is 360

In the table below 305.459 is rounded from 0 to 6 significant figures. For comparison the same number is rounded from 0 to 6 decimal places. You can see the difference between rounding for significant figures and rounding to decimal places.

prakash11440278_0-1608533723750.png

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.