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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

ALL Function Not Working Well!

I have a measure called total orders and i used ALL function to keep this measure not change with order dates filter and it is worked...

But my problem is that i have a bar chart in x line is order date and y line is another measure about counting people who ordered..

 

when i press any year of the chart the measure number that i want to keep it not changing is changing here with this bar chart!

What is the problem !! 

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

Share some data to work with and show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
ichavarria
Solution Specialist
Solution Specialist

Hi @Anonymous,

 

The problem could be that the measure you used the ALL function on is not being applied to the bar chart's visual level. When you interact with the bar chart by selecting a year, it could be filtering the visual level and therefore changing the calculation of your measure.

 

To solve this issue, you can try applying the same ALL function to the visual level of the bar chart as well. To do this, go to the "Visualizations" pane, click on the bar chart, and then go to the "Filters" section. Add your measure to the filters section and then click on the "Advanced controls" option. From there, select "Don't filter the measure" and then apply the ALL function to the visual level using the formula bar.

 

This should ensure that the measure is not affected by the bar chart's visual level and remains constant regardless of any interaction with the chart.

 

Best regards, 

Isaac Chavarria

If this post helps, then please consider Accepting it as the solution and give Kudos to help the other members find it more quickly

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 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 Solution Authors