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
Anonymous
Not applicable

Create a measure that does not respond to visual filters

Hello, 

 

I am trying to create a line and clustered column chart where the line data does not respond to the filters i have for the columns. In this chart, the columns display total projected $ impact for different business divisions with specific filters. I want the line to show total number of financial events for each column without the specific filters on the bar chart effecting the number. Right not the number is showing a total of 53 events when it should be 250. 

 

I have tried creating a measure that would count this value:

Events = CALCULATE(COUNT('Risk Event Global'[Event ID]),
ALL('Risk Event Global'[Event ID]),
FILTER('Risk Event Global', 'Risk Event Global'[Event Status] in {"Open","Draft"}))
 
I have seen in these forums that ALL() has worked to solve this issue for others, but I am still getting the same result. 
 
Here is the chart:
kw77777_0-1670608756168.png

 

Here are the filters on the visual:

kw77777_1-1670608795604.png

 

Here is the table:

kw77777_2-1670608863707.png

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , Try like

 

Events = CALCULATE(COUNT('Risk Event Global'[Event ID]),

FILTER(ALL('Risk Event Global'),, 'Risk Event Global'[Event Status] in {"Open","Draft"}))

View solution in original post

2 REPLIES 2
v-shex-msft
Community Support
Community Support

Hi @Anonymous,

Did the above suggestions help with your scenario? if that is the case, you can consider Kudo or Accept the helpful suggestions to help others who faced similar requirements.

If these also don't help, please share more detailed information to help us clarify your scenario to test.

How to Get Your Question Answered Quickly 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
amitchandak
Super User
Super User

@Anonymous , Try like

 

Events = CALCULATE(COUNT('Risk Event Global'[Event ID]),

FILTER(ALL('Risk Event Global'),, 'Risk Event Global'[Event Status] in {"Open","Draft"}))

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.

Top Solution Authors