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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
gauravg3
Helper I
Helper I

Setting a limit on measure

Looking for assistance here:

 

I've a measure (in %) whose value exceeds more than 100%.

Is there a way that I can set a limit on this measure that if the value is more than 100%, it should show it as 100% and not the actual value.

Example : if the output is 145%, I would want to show it as 100%.

One of the ways is using an IF function

(

IF([Measure A]>1, "100%", [Measure A]
)

but this way the output is in text format, which I don't want as then I can't use it for any further calculations being in text format.

 

Thanks for your support.

2 ACCEPTED SOLUTIONS
Ashish_Mathur
Super User
Super User

Hi,

Remove the double quotes from your measure and replace 100 with 1.  Format the measure as %.

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

v-tianyich-msft
Community Support
Community Support

Hi @gauravg3 ,

 

You can also use value() for subsequent calculations.

 

Hope it helps!

 

Best regards,
Community Support Team_ Scott Chang

 

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-tianyich-msft
Community Support
Community Support

Hi @gauravg3 ,

 

You can also use value() for subsequent calculations.

 

Hope it helps!

 

Best regards,
Community Support Team_ Scott Chang

 

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

Ashish_Mathur
Super User
Super User

Hi,

Remove the double quotes from your measure and replace 100 with 1.  Format the measure as %.

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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