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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
macinr
Helper I
Helper I

Value based on threshold

Hi,

 

I make heavy use of dynamic parameters. 

They allow to select a value and recalculate the results  in real time. That helps a lot.

 

However I reached a problem which I am not sure how to solve:

 

I have a list of key values:

 

10 - 1000

20 - 2000

50 - 3000

100 - 4000

150 - 5000

 

Where the key is actually a range. The table reads:

 

From 0 to 10 value is 1000

From 10+ to 20 value is 2000

 

Etc

 

 

I want to build a measure, which based on the value from another measure compared to the range the key fallls into, returns the value from presented table.

 

What is the best approach for solving such a problem?

1 ACCEPTED SOLUTION
2 REPLIES 2
v-lionel-msft
Community Support
Community Support

Hi @macinr ,

 

Do you have such a table?

kkk2.PNG

 

"I want to build a measure, which based on the value from another measure compared to the range the key fallls into, returns the value from presented table."

But I don’t quite understand what you want to calculate, can you list the return value of the measure you want to calculate? In addition, you seem to mention another measure, can you give its formula?

 

Best regards,
Lionel Chen

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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