Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
I have table Q1 with column name of subject - English, Maths, Physics, Biology, ICT
I like to use column name as filter in visual such that when i click on particular subject it show only visual related to that subject only
Solved! Go to Solution.
Hi @Ashwani94kr ,
Please try to unipovt the subject columns. Like the following :
Then you can put the subject into the slicer and filter then.
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WMjRV0sFKJCrF6gClzUB8LEQSRNocxMdCJEOkLUB8LEQqRNoSxMdCpICljQyATGxEmlJsLAA=", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [English = _t, Maths = _t, Physics = _t, Biology = _t, ICT = _t, #"name " = _t]),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"English", Int64.Type}, {"Maths", Int64.Type}, {"Physics", Int64.Type}, {"Biology", Int64.Type}, {"ICT", Int64.Type}, {"name ", type text}}),
#"Unpivoted Columns" = Table.UnpivotOtherColumns(#"Changed Type", {"name "}, "Attribute", "Value")
in
#"Unpivoted Columns"
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Ashwani94kr ,
Please try to unipovt the subject columns. Like the following :
Then you can put the subject into the slicer and filter then.
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WMjRV0sFKJCrF6gClzUB8LEQSRNocxMdCJEOkLUB8LEQqRNoSxMdCpICljQyATGxEmlJsLAA=", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [English = _t, Maths = _t, Physics = _t, Biology = _t, ICT = _t, #"name " = _t]),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"English", Int64.Type}, {"Maths", Int64.Type}, {"Physics", Int64.Type}, {"Biology", Int64.Type}, {"ICT", Int64.Type}, {"name ", type text}}),
#"Unpivoted Columns" = Table.UnpivotOtherColumns(#"Changed Type", {"name "}, "Attribute", "Value")
in
#"Unpivoted Columns"
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
hi @Ashwani94kr
With field parameter.
check this:
https://learn.microsoft.com/en-us/power-bi/create-reports/power-bi-field-parameters
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.