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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Ayappan
Helper III
Helper III

I need column based slicer

I have a set of data which has pass and fail.

Ayappan_0-1638515097541.png

 

I need a slicer which has data like Student 1 ,Student 2 ...

If i select Student 1 it should update my Donut chat with how many subject Student 1 got Pass or Fail or No data or Pass - Conditional

Thanks in Advance

1 ACCEPTED SOLUTION
bcdobbs
Community Champion
Community Champion

Hi @Ayappan ,

 

I would start by transforming your data in power query (click transform data).

 

You need to select the subject name column and then use "Unpivot Other Columns". https://support.microsoft.com/en-us/office/unpivot-columns-power-query-0f7bad4b-9ea1-49c1-9d95-f5882...

this will give you a table with columns:

Subject, Student Name, Value.

 

Data in this form will be much easier to work with in Power Bi.



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

View solution in original post

3 REPLIES 3
bcdobbs
Community Champion
Community Champion

If Active/InActive is linked to the subject then go back to PowerQuery, remove the unpivot you previously did and then repeat the steps but this time select both the Subject column and the Active/InActive column before using Unpivot other columns.



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
bcdobbs
Community Champion
Community Champion

Hi @Ayappan ,

 

I would start by transforming your data in power query (click transform data).

 

You need to select the subject name column and then use "Unpivot Other Columns". https://support.microsoft.com/en-us/office/unpivot-columns-power-query-0f7bad4b-9ea1-49c1-9d95-f5882...

this will give you a table with columns:

Subject, Student Name, Value.

 

Data in this form will be much easier to work with in Power Bi.



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

Thanks @bcdobbs 

That worked - After this  i had added a column with Active / InActive .

So now i have to Filters .1st with pass or fail 2nd with Active / InActive 

Should i follow same process or any other way it will help me .Please Suggest

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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