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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
H_SL
New Member

limit percentage to 3 digits

Hello community!

 

How can i limit the number of digits of a percentage into 3 digits only? i want my limits to be 999% to -999%, otherwise, "N/A"

 

i.e how can i have "N/A" instead of 4010%

 

Capture.JPG

i.e 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi H_SL,

 

Yes, you can control it by using DAX Expression. 

 

For Example, if your percentage is a measure that it returns values.

 

You can create one more measure and write DAX Expression like,

=IF(AND([Percentage]>-999, [Percentage]< 999), [Percentage], 'N/A')

 

Hope this helps you a lot.

 

Regards,

Pradeep

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi H_SL,

 

Yes, you can control it by using DAX Expression. 

 

For Example, if your percentage is a measure that it returns values.

 

You can create one more measure and write DAX Expression like,

=IF(AND([Percentage]>-999, [Percentage]< 999), [Percentage], 'N/A')

 

Hope this helps you a lot.

 

Regards,

Pradeep

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.