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

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

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
GregDeckler

How to Get Your Question Answered Quickly

Power BI Super User, Greg Deckler, explains

Summit North America

Power Platform Summit North America

Register by September 5 to save $200

Back to School Contest

Back to School Contest

Engage and empower students with Power BI!

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Top Ideas
Users Online
Currently online: 43 members 997 guests
Please welcome our newest community members: