March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I'd like to be able to add numerical columns to a matrix depending on the selection of column names by a user using a slicer. I was thinking of using a field parameter but that doesn't seem to work. For exemple, I have the data :
id | Col1 | Col2 | Col3 |
A | 100 | 90 | 50 |
B | 80 | 95 | 60 |
Is it possible to have a slicer with a choice of numeric columns (Col1, Col2 or Col3) which can be used to display or not the value of these columns in a matrix with the ID in the row and the selected columns in the column ?
Thanks
Hi @Jeremy19 ,
Here are the steps you can follow:
1. In power query – select [Col1], [Col2], [Col3] – Transform – Unpivot Columns.
2. Placing fields into the matrix.
3. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Thank you for this suggestion, which works well for the example. The problem I'm having, however, is that I have a lot of columns that are created in DAX and which therefore don't appear in Power Query. Is there a solution for doing this outside Power Query?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
133 | |
90 | |
88 | |
64 | |
58 |
User | Count |
---|---|
203 | |
141 | |
107 | |
73 | |
70 |