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
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
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.