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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
J_Mug
Helper I
Helper I

DAX Filter Out / Exclude Certain Values in summarize columns

Hi,

 

I am not able to solve this by myself, 

 

I have a table with values (+10000) that is generated via summarize colums with different values, I want to dynamically exclude the values that are in another table and that have been added in the last six months,

 

I tried to use this as a filter in the summarize columns function, which counts correctly and shows the records I want to eliminate:

 

FILTER('Data',Calculate(COUNT('Data'[Data]),DATESBETWEEN(Calendar[Date],EOMONTH(TODAY(),-6), TODAY())))
 
Is there any way to do the opposite of this is in Dax? What I want is for the result of the summarize columns not to include the records in 'Data' table that has been registered in the last 6 months.
 
Thanks,
 
 
1 ACCEPTED SOLUTION
v-yueyunzh-msft
Community Support
Community Support

Hi, @J_Mug 

For logical judgments in DAX, if you want to get the opposite result, you can try using the NOT() function:

NOT function (DAX) - DAX | Microsoft Learn

 

Best Regards,

Aniya Zhang

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

View solution in original post

1 REPLY 1
v-yueyunzh-msft
Community Support
Community Support

Hi, @J_Mug 

For logical judgments in DAX, if you want to get the opposite result, you can try using the NOT() function:

NOT function (DAX) - DAX | Microsoft Learn

 

Best Regards,

Aniya Zhang

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

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