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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Maysantos
New Member

function for "does not contain"

Hi,

If there is a function for "CONTAINS", is there also a function for "not contain". 

I would like to create a formula that will give me a table of rows that do not contain a given item, e.g. "C".

I have this formula,

if((CONTAINS(Table,column[X],"C")),(if(CONTAINS(Table,Column[Y],"C"),0,if(CONTAINS(Table,Column[Z],"C"),0,1))))
 
I would like to get the opposite of the above.
1 REPLY 1
v-evelk
Microsoft Employee
Microsoft Employee

Hi,

 

If your question is about DAX it would be better to ask in Desktop thread because DAX is out of our expertise.

 

Kind Regards,

 

Evgenii Elkin,
Software Engineer
Microsoft Power BI Custom Visuals
pbicvsupport@microsoft.com

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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