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
prabhatnath
Advocate III
Advocate III

Filter Report Data based on User Selection for YES - NO Value Based data

Hi Experts,

I have the below table loaded into Power BI and currently the report shows all visuals based on all rows in the Datasource.
I want to exclude the Vendor records from the report visuals so for now I have applied a Page level filter IsVendor = NO and it is all good.

Instead, I want to have a selection (Something like "Include Vendor Records") that is by default unselected and users can select if they want to include vendor data as well. Without Selection, the Report should show records where Isvendor = NO.

Having a Slicer visual on isVendor Field and shown as checkboxes will show YES and NO options and will work, but I think this will confuse users, so looking for having just one selection for Include Vendor Records.

Item NamePriceIsVendor
CPU7000NO
RAM3200NO
HDD2000NO
SSD4000NO
FAN500YES
CABINET1200YES
PSU800YES
GPU5000NO
COOLING200YES


Thanks,
Prabhat

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @prabhatnath,

You can try to use ISFILTERED function with if statement to package the original expression and use its status to redirect to different filter expressions.

ISFILTERED function (DAX) - DAX | Microsoft Learn

Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @prabhatnath,

You can try to use ISFILTERED function with if statement to package the original expression and use its status to redirect to different filter expressions.

ISFILTERED function (DAX) - DAX | Microsoft Learn

Regards,

Xiaoxin Sheng

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.

Top Kudoed Authors