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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
sujatakaran
Helper I
Helper I

Filter based on certain text

Hello,

 

I am trying to create a report that should have exclude and include button to exclude/include email ids from certain domains. For example: I have a table that has a list of email ids from various domains, including my company's domain. So, when i click on exclude button it should exclude all internal email ids and filter all the visual to give data for external ids only. and when i click on include button then it should have all the visuals containing all the ids.

 

BR

Sujata

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@sujatakaran , for include and include might need have table(using enter table) or some other way .

 

Include is the default behavior, for exclude refer to this solution. Switch the measure on including an exclude

https://community.powerbi.com/t5/Desktop/Exclude-value-via-a-slicer/td-p/467691

 

Create a slicer for include and exclude / switch measure slicer

https://community.powerbi.com/t5/Desktop/Slicer-MTD-QTD-YTD-to-filter-dates-using-the-slicer/td-p/50...

 

make them look lik button https://docs.microsoft.com/en-us/power-bi/power-bi-slicer-filter-responsive

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

1 REPLY 1
amitchandak
Super User
Super User

@sujatakaran , for include and include might need have table(using enter table) or some other way .

 

Include is the default behavior, for exclude refer to this solution. Switch the measure on including an exclude

https://community.powerbi.com/t5/Desktop/Exclude-value-via-a-slicer/td-p/467691

 

Create a slicer for include and exclude / switch measure slicer

https://community.powerbi.com/t5/Desktop/Slicer-MTD-QTD-YTD-to-filter-dates-using-the-slicer/td-p/50...

 

make them look lik button https://docs.microsoft.com/en-us/power-bi/power-bi-slicer-filter-responsive

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

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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
Top Kudoed Authors