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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
jimrosser
Helper III
Helper III

Multiple items in slicer

So I have a slicer that is multi-select and has 3 items.  What I'd like to do is have an if statement that doesn't care if 1 and 3 are selected I only want to know that the 2 is selected and then perform an if statement.  

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @jimrosser ,

You can paste some raw data and screenshots in your post directly and describe the expected result base on your data. You can refer the following links to share the required info:

How to provide sample data in the Power BI Forum

How to Get Your Question Answered Quickly

yingyinr_0-1673248688162.png

yingyinr_1-1673248729320.png

Best Regards

View solution in original post

3 REPLIES 3
jimrosser
Helper III
Helper III

I'm pretty new to power bi so i'm not sure how to upload the pbix file. 

it's pretty basic dropdown list it has 3 check boxes.  The boxes are First, Seconds and Thirds quality.  The way it's set up now it displays all 3 quantities stacked.  I'd like to write an if statement to say that if Seconds is not selected then don't display them in the chart.  

Anonymous
Not applicable

Hi @jimrosser ,

You can paste some raw data and screenshots in your post directly and describe the expected result base on your data. You can refer the following links to share the required info:

How to provide sample data in the Power BI Forum

How to Get Your Question Answered Quickly

yingyinr_0-1673248688162.png

yingyinr_1-1673248729320.png

Best Regards

Anonymous
Not applicable

Hi @jimrosser ,

Could you please provide some  raw data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples? For example, when item 2 be selected, which operation will be executed?

  • When only item 2 be selected
  • When the item 1 or 3 be selected
  • When (the item 1 or item 3) and item 2 be selected

It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.