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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

DAX , filter out Subset

 

This gets me 90% there

 

CALCULATE(SUM(VW_RPT_PortfolioReview_6Month[CurrentBalance]),ALLEXCEPT(VW_RPT_PortfolioReview_6Month,VW_RPT_PortfolioReview_6Month[POOL],VW_RPT_PortfolioReview_6Month[BalanceDate]))

 

I also want to also filter out 

VW_RPT_PortfolioReview[CATEGORY1]<>"Closed Full Redemption" &&

VW_RPT_PortfolioReview[CATEGORY1]<>"Closed with remaining shortfall"

 

I Tired with = and <> , does not filter out/Add  the "Closed with remaining shortfall"

 

CALCULATE(SUM(VW_RPT_PortfolioReview_6Month[CurrentBalance]),ALLEXCEPT(VW_RPT_PortfolioReview_6Month,VW_RPT_PortfolioReview_6Month[POOL],VW_RPT_PortfolioReview_6Month[BalanceDate]),VW_RPT_PortfolioReview[CATEGORY1]<>"Closed with remaining shortfall")

 

What am I doing wrong ?

 

4 REPLIES 4
themistoklis
Community Champion
Community Champion

@Anonymous

 

Can you try the following:

CALCULATE(SUM(VW_RPT_PortfolioReview_6Month[CurrentBalance]),
FILTER( 
	ALLEXCEPT(VW_RPT_PortfolioReview_6Month,VW_RPT_PortfolioReview_6Month[POOL],VW_RPT_PortfolioReview_6Month[BalanceDate]), 
    VW_RPT_PortfolioReview[CATEGORY1]<>"Closed with remaining shortfall" 
		)
	)
Anonymous
Not applicable

Thanks! Knew I was doing something stupid Just missing the FILTER!

@Anonymous

 

If you are happy with the solution you can mark it as the correct one

Anonymous
Not applicable

I keep getting an error , tried IE too; think IT in here have javascript disabled Authentication failed for the action you are trying to do. This failure could be due to your browser not supporting JavaScript, JavaScript not being enabled, or trying to use the action URL directly in the browser address bar instead of clicking the link on the page.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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