cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

find the scale & precision of a decimal number

How do I work out the precision and scale of a column of decimal numbers using DAX?

 

 

 

 

2 REPLIES 2
Moderator v-caliao-msft
Moderator

Re: find the scale & precision of a decimal number

Hi @edwardrmiles,

 

On source table you can change it on Formating tab.

Capture.PNGCapture1.PNG

On report level, you can set it on Format tab>Data Labels>Display units
Capture2.PNG

 

Regards,

Charlie Liao

Highlighted

Re: find the scale & precision of a decimal number

Thanks @v-caliao-msft but it's not a formatting issue. I want to return the scale & precision as integers, so 1.23 would return a precision of 3 and a scale of 2

Helpful resources

Announcements
Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Summit North America

Power Platform Summit North America

Register by September 5 to save $200

PBI Community Highlights

PBI Community Highlights

Check out what's new in the Power BI Community!

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Top Kudoed Authors
Users Online
Currently online: 49 members 1,209 guests
Please welcome our newest community members: