cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
amart2 Frequent Visitor
Frequent Visitor

Combined Booleans In Slicer

Hello,

 

I have rows from a table that I want to filter in Report based on if they are labeled as Rejected/Reloads/Restarts.  I envision this as a box with each of them listed, where you can check off which ones you want filtered (checkmark = true).  It doesn't seem like you can combine them in a slicer, and I can only do them individually as True/False.  Is there a way I can get them listed together instead?

 

booleans.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
themistoklis New Contributor
New Contributor

Re: Combined Booleans In Slicer

@amart2

 

Creating a new column (not measure) may help in your case but generally combining fields in one slicer is not supported on PowerBI.

 

New Column = IF(Sheet1[Rejected] = TRUE(), "Rejected", IF(Sheet1[Month] = TRUE(), "Reload" etc
 
Instead of IF statement you can also use SWITCH function
 
Then add this new column as a slicer

 

 

View solution in original post

4 REPLIES 4
v-cherch-msft Super Contributor
Super Contributor

Re: Combined Booleans In Slicer

Hi @amart2

 

I cannot fully understand it. Could you share some sample data or explain more about your expected output? Maybe you may check SELECTEDVALUE Function and HASONEVALUE Function if they could help you.

 

How to Get Your Question Answered Quickly

 

Regards,

Cherie

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

Re: Combined Booleans In Slicer

@amart2

 

Creating a new column (not measure) may help in your case but generally combining fields in one slicer is not supported on PowerBI.

 

New Column = IF(Sheet1[Rejected] = TRUE(), "Rejected", IF(Sheet1[Month] = TRUE(), "Reload" etc
 
Instead of IF statement you can also use SWITCH function
 
Then add this new column as a slicer

 

 

View solution in original post

amart2 Frequent Visitor
Frequent Visitor

Re: Combined Booleans In Slicer

Thanks @themistoklis, that was exactly what I needed!

 

To clarify, I had three seperate boolean columns, and I wanted the option to which ones I wanted to filter in one slicer.  So creating that combining column allowed me to do that, thanks again!

themistoklis New Contributor
New Contributor

Re: Combined Booleans In Slicer

Im glad it worked @amart2

 

Please make sure to accept it as solution as it will help other users as well

Helpful resources

Announcements
Ask Amanda Anything Q&A

Ask Amanda Anything Q&A

Learn the answers to some of the questions asked during the Amanda Triple A event.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 256 members 2,778 guests
Please welcome our newest community members: