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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

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
Anonymous
Not applicable
2 REPLIES 2
v-lionel-msft
Community Support
Community Support

Hi @Anonymous ,

 

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.

Anonymous
Not applicable

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.