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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors