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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
mekaelj
Helper II
Helper II

Set slicer to not filter one value in graph

Hi,

 

I have slicers on several different product groups where I can filter exactly which product groups I want included in my graphs. Then I have a graph showing the average sales price for the filtered product as the Y-axis and the Revenue as the X-axis. The information is then showed by each customer, showing their average sales price as well as revenue for the product.

 

What I'm wondering is, is there any way that I can have my slicers filter the average sales price for the customers, but keep the revenue unfiltered? This would give me the total revenue for each customer instead, rather than just the revenue of the currently selected product.

 

 

 

Thanks!Capture.PNG

1 ACCEPTED SOLUTION
Eric_Zhang
Microsoft Employee
Microsoft Employee


@mekaelj wrote:

Hi,

 

I have slicers on several different product groups where I can filter exactly which product groups I want included in my graphs. Then I have a graph showing the average sales price for the filtered product as the Y-axis and the Revenue as the X-axis. The information is then showed by each customer, showing their average sales price as well as revenue for the product.

 

What I'm wondering is, is there any way that I can have my slicers filter the average sales price for the customers, but keep the revenue unfiltered? This would give me the total revenue for each customer instead, rather than just the revenue of the currently selected product.

 


@mekaelj

It sounds like you're looking for ALL or ALLSELECTED. Could you post any sample data and expected output?

View solution in original post

6 REPLIES 6
Eric_Zhang
Microsoft Employee
Microsoft Employee


@mekaelj wrote:

Hi,

 

I have slicers on several different product groups where I can filter exactly which product groups I want included in my graphs. Then I have a graph showing the average sales price for the filtered product as the Y-axis and the Revenue as the X-axis. The information is then showed by each customer, showing their average sales price as well as revenue for the product.

 

What I'm wondering is, is there any way that I can have my slicers filter the average sales price for the customers, but keep the revenue unfiltered? This would give me the total revenue for each customer instead, rather than just the revenue of the currently selected product.

 


@mekaelj

It sounds like you're looking for ALL or ALLSELECTED. Could you post any sample data and expected output?

Hi again @Eric_Zhang,

 

Figured out how to use the all function and it worked perfectly. I just used =calculate(revenue);all(the table that was used to filter the graph)

 

Thanks!

@Eric_Zhang Hi Eric and thanks for your reply. I think from the sound of these functions they might do what I want them to do. I can't post the data as it's confidential information, but the situation is as follows:

 

I have a table where I have my gross sales, and then another table where I have discounts. I've made the following calculation to get the actual sales:

 

Revenue = SUM(sales[GrossSales]) - SUM(Sales[Discounts])

 

I have also made the following calulation to get the average sales price:

 

ASP Actualrate = DIVIDE([Revenue];[Volume])

 

Now what I want is for the revenue measure to remain unfiltered but have the ASP still filtered by my slicers. I assume the ALL function would be the function to use but I don't know how to make it work. Any guidance?

 

Cheers!

 

 

Anonymous
Not applicable

Have you considered creating a new column to store the overall customer revenue per customer and show that? It will be a rough cut solution as you will have repeated data but it will fill the hole. 

Hi @Anonymous, thanks for your reply.

 

Won't that still get filtered by my slicers if I were to do that?

 

Cheers,

Anonymous
Not applicable

It depends on your table structure but it wouldn't if it looks the way it looks in my head haha! Can you send an example of your data as well as any relevant transformations please? 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.