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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

How to resolve summing up after apply of filter.

 

Hi All,

In the below you can see different baseline hours for different clients (Image 1). When I select the particular client (PLC) from the filter the baseline hours are summing up (1332) which is wrong and it should be 887.11. Any work around for this? 

 

Note that Billable hours and baseline hours dax measures. I tried calculated columns but there are over 4500 employees it takes huge space. 

 

Kiranbc_1-1671114122559.png

Kiranbc_3-1671114448929.png

 

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

I created some data:

vyangliumsft_0-1671159735330.png

You need to add Allselectd() to Measure.

Removes context filters from columns and rows in the current query, while retaining all other context filters or explicit filters.

ALLSELECTED function (DAX) - DAX | Microsoft Learn

Here are the steps you can follow:

1. Create measure.

Measure =
SUMX(ALLSELECTED('Table'),[Value])

2. Result:

Unfiltered:

vyangliumsft_1-1671159735332.png

After filtering:

vyangliumsft_2-1671159735333.png

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Anonymous
Not applicable

Thank you for answering, but my requirement is below. I have below data. The below data is correct when i dont filter particular client (2nd column), but when i filter the 2nd row client, the fifth column Clientbase sums up values (2nd screen shot). Let me know how to avoid this. 

 

I filtered on 2nd row it should show clientbase hours as 471.04 but 

Kiranbc_0-1671603599779.png

 

Kiranbc_1-1671603734390.png

 

 

 

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

Find out what's new and trending in the Fabric community.