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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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