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

Conditional range with a measure

Hi everybody, 

 

I have a small issue.. I would like to create a graph with a range that changed when I clicked on a filter. To do that, I created a measure to count something, the value of this measure changed when I clicked on a filter. So I thought that to change the range, I just have to put this measure in the next conditional element. 

AlexisEdin_0-1675341900034.png

But it doesn't works, do you have an idea of how I could do my wish ? 

Thank you in advance !

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Sorry everybody, my explanations were very bad. I found the error and hopefully, I succeded to solve it. It was a filter's issue and not about measure. So I was a bit confused and stupid at the same time but now, it works ahah. 

Thanks to everyonne who tried to help me. 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Sorry everybody, my explanations were very bad. I found the error and hopefully, I succeded to solve it. It was a filter's issue and not about measure. So I was a bit confused and stupid at the same time but now, it works ahah. 

Thanks to everyonne who tried to help me. 

amitchandak
Super User
Super User

@Anonymous , Assume you have measure M1 used as value of visual and Column C1 is on Axis

 

Max = MAxx(Values(Table[C1]) ,[M1]) *1.1

 

 

Min= Minx(Values(Table[C1]) ,[M1]) *.9

 

you can use above measures in min/max in fx

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

It doesn't works, but since yesterday, I found the "error". If I use the fonction "calculate", the measure don't recognize that it's a number. But I have to use this function to apply a filter on the measure. I think it's not very clear but if you have a solution, I will take it

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.