cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

DAX SUM AND FILTER USING ALL

Hi, I am looking for some help...

I have created the below to return the sum value of 3 specific GL accounts. This works fine until I add a filter on the page for report as name ( which I have built in as ALL to the below ) and once I do this one of the account values drop off

** the report as name I’m trying to filter on has no entries in the GL which is dropping off.

 

TOTAL CWSR ALL (ALL) = CALCULATE(SUM(MemberReturns[Amount]),FILTER(VALUES('MemberReturns'[G_L_Account_No]),('MemberReturns'[G_L_Account_No]="4555"||MemberReturns[G_L_Account_No]="4886"||MemberReturns[G_L_Account_No]="4558")),ALLSELECTED('Date'),ALL('Report As')) 

 

 

1 REPLY 1
kentyler
Solution Sage
Solution Sage

You might need to add the possibility to your OR statements that the MemberReturns[G_L_Account_No] is blank





Did this post answer your question? Mark it as a solution so others can find it!

Help when you know. Ask when you don't!




Join the conversation at We Talk BI find out more about me at Slow BI


Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors
Top Kudoed Authors