Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
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.
Solved! Go to Solution.
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
Hi @Anonymous ,
Check the formula.
Table 2 = DISTINCT(UNION(SELECTCOLUMNS('Table',"slicer",'Table'[column1]),SELECTCOLUMNS('Table',"slicer",'Table'[column2]),SELECTCOLUMNS('Table',"slicer",'Table'[column3])))
Best Regards,
Jay
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
@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
Another option is unpivot table
https://radacad.com/pivot-and-unpivot-with-power-bi
I have created a seperate table for distinct values.
When I am trying to establish the relaptionship I am getting error.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
123 | |
78 | |
49 | |
38 | |
37 |
User | Count |
---|---|
196 | |
80 | |
70 | |
51 | |
42 |