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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
jimrosser
Helper I
Helper I

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

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

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
jimrosser
Helper I
Helper I

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.  

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

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-yiruan-msft
Community Support
Community Support

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

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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