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.
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! Prices go up Feb. 11th.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
143 | |
72 | |
62 | |
51 | |
48 |
User | Count |
---|---|
206 | |
90 | |
61 | |
59 | |
57 |