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

Grand total doesn't filter

I get the wrong total when I try to filter through the following:

 

I have three tables;

 

- Bomlines containing the quantity of ingredient (itemreq) of a sold item

- Sales table containing the sold item

- Item table, containing unique item keys 

 

With the following relation:

 

screenshot.PNG

 

In order to calculate the total amount a an ingredient sold to customer X. 

I use the following formula:

Sum(SalesForecastVerijkt[AantalOmzetHE])*sum(Bomlines[quantity])

 

When I apply a filter on the on Sales Table; the total amount of a ingredient is still equal to the total amount when the filter is not applied. So somehow it is still active. 

 

screenshot 2.PNG

 

Can anyone help me out on this? 

 

 

1 REPLY 1
Nathaniel_C
Community Champion
Community Champion

Hi @Anonymous ,

 

So the filters are being applied on each row, but total means there is no filter.  So try ALLSELECTED in your formula, which should make the Total row sensitive to the filter.

 

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 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.