Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hello,
I'm attempting to recreate a report that was once created in Tableau. This report has a table with columns "A, B, C, D, E, etc." and I want to be able to dynamically switch between these columns on the rows of my matrix using a slicer or filter like I see on tableau. The formula used in tableau looks like this:
CASE [Group by]
WHEN 'A' THEN [A]
WHEN 'B' THEN [B]
WHEN 'C' THEN [C]
WHEN 'D' THEN [D]
WHEN 'E' THEN [E]
WHEN 'F' THEN [F]
WHEN 'G' THEN [G]
ELSE ''
END
The reference column is then put into a slicer/filter and by selecting each value it would return the designated column from the main table. Is there any way to replicate this in Power BI? I was able to recreate something very similar for the measures of my table which works very well, however since I want this to be on the rows for the matrix I, unfortunately, cannot add a measure to that field. It also will not work for calculated tables and columns and returns with an error message of "A table of multiple values was supplied where a single value was expected."
Any help would be very much appreciated because this feature is very important for my report as it is used more as a tool rather than a report.
Best,
Nathan
You may select Unpivot Columns in the Query Editor, then drag Attribute to Field for Slicer and Value to Rows for Matrix.
@v-chuncz-msft I believe that I need to make a connection to my original data source somehow, but I do not know the best way to go about doing that. I do not have any columns that are similar between the two.
Your new requirement is not very clear to me. More detailed information are expected.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 22 | |
| 22 | |
| 18 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 63 | |
| 50 | |
| 46 | |
| 41 | |
| 39 |