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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Penn
Resolver I
Resolver I

How to allow measure value change with filters?

Hi all,

 

A very simple question. I have the measure below

Opp. # EOM Order Placed = CALCULATE(DISTINCTCOUNT('EOM Opp'[Opportunity ID]), 'EOM Opp'[EOM Stage] = "Order Placed", DATESBETWEEN('EOM Opp'[EOM Date], MIN('Calendar'[Date]), MAX('Calendar'[Date])))

And a column chart like this

Annotation 2019-09-19 124049.jpg

 

I am quite confused here as I choose "Assessment" in the slicer, shouldn't the measure value shown on the bar chart be empty? As it is set to look at "Order Placed" only. How can I adjust to let nothing show up on the bar chart?

 

Thanks.

1 ACCEPTED SOLUTION
v-juanli-msft
Community Support
Community Support

Hi @Penn 

Which column is added into the "Axis" of the bar chart?

Could you show a simple data example for analysis?

 

If you want your measure only to show values when 'EOM Opp'[EOM Stage] = "Order Placed",

Create a measure

measure =
IF (
    SELECTEDVALUE ( 'table'[EOM Stage] ) = "Order Placed",
    [Your measure],
    BLANK ()
)

Best Regards
Maggie
Community Support Team _ Maggie Li
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

4 REPLIES 4
v-juanli-msft
Community Support
Community Support

Hi

Is this problem sloved? 
If it is sloved, could you kindly accept it as a solution to close this case?
If not, please let me know.
 
Best Regards
Maggie
v-juanli-msft
Community Support
Community Support

Hi @Penn 

Which column is added into the "Axis" of the bar chart?

Could you show a simple data example for analysis?

 

If you want your measure only to show values when 'EOM Opp'[EOM Stage] = "Order Placed",

Create a measure

measure =
IF (
    SELECTEDVALUE ( 'table'[EOM Stage] ) = "Order Placed",
    [Your measure],
    BLANK ()
)

Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
amitchandak
Super User
Super User

Bar Chart Labels are not visible. But if you are looking data by EOM stage, then you should see the only bar for that; and if choose other value you should no see data. 

 

Hi @amitchandak

 

If you look at the screenshot I provided, I chose "Assessment" in the filter but the measure which is supposed to show only "Order Placed" still shows data. How can I resolve this?

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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