Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I am trying to make a dynamic report where my end user can select their specific columns that they want to report on, and we are doing this because if you select all the columns you are looking at 60+ columns and it makes the report hard to look for data. Here are the steps that I have done.
1. I did was I made a table with all the columns that are available/what the requester would like to report on, and I grouped them in categories as shown below:
2. After I did this I brought that into a Hierarchy Slicer (as this will allow pick and choose of columns).
3. I then took all my separate queries (6) and unpivoted them so they could all relate to my main table (here is the linkage)
4. I then brought in a matrix table, but the issue here is each query that I unpivoted now has its own CaseID/EncounterID under the "rows" section of the matrix, under columns I had to bring in 6 different "originalcolumnnm" and under values I brought in the six different "first values", but the out put doesn't work. It just says "first value" across the top.
My question is how do I make this interactive and show the columns that I need with all these different queries? I feel there has to be an easier way... I appreciate everyone's help with this!
Solved! Go to Solution.
Hi @kjcompton ,
According to your statement, I think you only add columns into matrix column field and value field. I think you need to expand your matrix by adding columns in matrix row field.
I think your data table should look like an unpivot table. I suggest you to add an index before your unpivot or add an index by group after unpivot.
For refernece:
Create Row Number for Each Group in Power BI using Power Query
Your table should look like as below.
Matrix is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @kjcompton ,
According to your statement, I think you only add columns into matrix column field and value field. I think you need to expand your matrix by adding columns in matrix row field.
I think your data table should look like an unpivot table. I suggest you to add an index before your unpivot or add an index by group after unpivot.
For refernece:
Create Row Number for Each Group in Power BI using Power Query
Your table should look like as below.
Matrix is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
7 | |
7 | |
3 | |
2 | |
2 |
User | Count |
---|---|
6 | |
5 | |
4 | |
4 | |
4 |