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.

Power BI Helps Homeless and Trouble Youth

Power BI Helps Homeless and Trouble Youth

We spoke with Power BI Super User, Greg Deckler, about his charity work

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Users Online
Currently online: 25 members 966 guests
Please welcome our newest community members: