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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Anonymous
Not applicable

Combine nested filtre

Hello everybody, i would like to filter on a table using a nested filter. here is my exemple :

 

pbi.png

 

i would like to remove the "ccube osgroup.name" = "Sans OS indiqué" and "type" <> 50 and keep all the rest.

i tried this in dax but it didn't work :

obs = CALCULATETABLE (
obsolescences, filter(obsolescences, and(obsolescences[ccube osgroup.name] = "Sans OS indiqué" , obsolescences[type] =50))
)
 

Thank you in advance for your answers,

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , Try like

obs = CALCULATETABLE (
obsolescences, filter(obsolescences, not(obsolescences[ccube osgroup.name] = "Sans OS indiqué" && obsolescences[type] <> 50))
)

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , Try like

obs = CALCULATETABLE (
obsolescences, filter(obsolescences, not(obsolescences[ccube osgroup.name] = "Sans OS indiqué" && obsolescences[type] <> 50))
)

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

yes it work thank you very much

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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