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

View all the Fabric Data Days sessions on demand. View schedule

Reply
Newbie22
Resolver I
Resolver I

Total Sum of Value excluding slicer filter.

Hi!

I have one table and created 3 measures.

1. Beginning Balance Total = SUM('Table'[Beg Balance Amount])

2. Daily Balance =  SUM('Table'[USD Amount])

3. Remaining Balance = [Beg Balance Total] - [Daily Balance]

 

When I put it in a table and use a slicer for filter,  the result is not what I need because Beginning Balance total should show the overall amount of Beginning Balance Amount regardless of the Reporting Date. Filter in the slicer should not affect this measure. 

 

Newbie22_3-1681318939250.png

 

In that case, I need measure "Beginning Balance Total" to be the overall Beg Balance Amount per collector.

That means in the above example. If Slicer is set to 04/01/2023 the period would be April 2023 and then Collectors are AA and CC so the total Beg Balance amount to appear should be $0 for AA because AA doesn't have an equivalent invoice in the Beginning Balance Amount on Period April (see below screenshot for reference) and $1900 for CC  (Invoice # 111005 is 400 and Invoice # 111006 is 1500. 400 +1500 = 1900). 

 

Below is my data:

Newbie22_4-1681319508332.png

 

Desired output should be something like this:

 

Newbie22_5-1681319960086.png

 

 

Here's the pbix in case you need to check and play around: Sample PBI - Google Drive

 

Thank you so much to those who will help 🙂


 


 

1 ACCEPTED SOLUTION
Newbie22
Resolver I
Resolver I

Hi All,

 

I already found out the right DAX. 

 

Sharing below formula in case someone have the same issue. 

 

Beg Balance Total = SUMX(SUMMARIZE('Table', 'Table'[Period], 'Table'[Collector]), CALCULATE(SUM('Table'[Beg Balance Amount]), ALL('Table'[Reporting Date])))
 
I used Summarize to Group the data by period and by collector. 
 
Newbie22_0-1681324201294.png

 

View solution in original post

3 REPLIES 3
Newbie22
Resolver I
Resolver I

Hi All,

 

I already found out the right DAX. 

 

Sharing below formula in case someone have the same issue. 

 

Beg Balance Total = SUMX(SUMMARIZE('Table', 'Table'[Period], 'Table'[Collector]), CALCULATE(SUM('Table'[Beg Balance Amount]), ALL('Table'[Reporting Date])))
 
I used Summarize to Group the data by period and by collector. 
 
Newbie22_0-1681324201294.png

 

Greg_Deckler
Community Champion
Community Champion

@Newbie22 Should be able to use CALCULATE along with REMOVEFILTERS or possibly ALLEXCEPT or just use this:

Beginning Balance Total = SUMX(ALL('Table'),[Beg Balance Amount])



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Hi @Greg_Deckler , I didn't work. ☹️  It shows the whole Beg Balance amount for every period. I need the total of beg balance per collector and based on the Period of the Reporting Date (slicer). 

 

Newbie22_0-1681321137847.png

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors