Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 97 | |
| 73 | |
| 50 | |
| 48 | |
| 45 |