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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Slicer from 3 different columns

Hi,

I have 3 different status from the table and I want a slicer from all the columns.

"Avaliable_Status" , "Active_Status" and "Not Active_Status".

Here is the sample data.

image.png

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

The formula is to create a slicer table.

If you want the slicer to filter the visual, you will need to create a measure as below.

IF(SELECTEDVALUE('TABLE'[PCI])=SELECTEDVALUE('SLICER'[COLUMN])||SELECTEDVALUE('TABLE'[SOC])=SELECTEDVALUE('SLICER'[COLUMN])||SELECTEDVALUE('TABLE'[SOC FC])=SELECTEDVALUE('SLICER'[COLUMN]),1,0)

Then put this measure to visual level filter measure = 1.

 

Best Regards,

Jay

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @Anonymous ,

 

Check the formula.

Table 2 = DISTINCT(UNION(SELECTCOLUMNS('Table',"slicer",'Table'[column1]),SELECTCOLUMNS('Table',"slicer",'Table'[column2]),SELECTCOLUMNS('Table',"slicer",'Table'[column3])))

4.PNG

5.PNG

 

Best Regards,

Jay

Anonymous
Not applicable

@Anonymous ,

I tried the same way but this is not working .

image.png

image.png

Anonymous
Not applicable

Hi @Anonymous ,

 

The formula is to create a slicer table.

If you want the slicer to filter the visual, you will need to create a measure as below.

IF(SELECTEDVALUE('TABLE'[PCI])=SELECTEDVALUE('SLICER'[COLUMN])||SELECTEDVALUE('TABLE'[SOC])=SELECTEDVALUE('SLICER'[COLUMN])||SELECTEDVALUE('TABLE'[SOC FC])=SELECTEDVALUE('SLICER'[COLUMN]),1,0)

Then put this measure to visual level filter measure = 1.

 

Best Regards,

Jay

amitchandak
Super User
Super User

@Anonymous , You can create a new table like

distinct(union(distinct(Table[Avaliable_Status]) ,distinct(Table[Active_Status]), .distinct(Table[Not Active_Status])))

 

Join with all three columns and create measure using use relationship

https://radacad.com/userelationship-or-role-playing-dimension-dealing-with-inactive-relationships-in-power-bi

 

Another option is unpivot table

https://radacad.com/pivot-and-unpivot-with-power-bi

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@amitchandak ,

I have created a seperate table for distinct values.

image.png

When I am trying to establish the relaptionship I am getting error.

image.png

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors