Forum Discussion
santoshransubhe
7 years agoRegular Visitor
Dynamic Column Name Based on Slicer Selection
Here is the table I'd be working with: Name StatValue A 1 B 2 C 3 On the actual report, I'd like to have a slicer with the values "Col1" "Col2" "Col3" Once selection one...
- 7 years ago
Simply use a matrix visual, drag Table2[ColumnName] to Columns, measure below to Values.
Measure = SUM ( Table1[StatValue] )
PattemManohar
7 years agoCommunity Champion
santoshransubhe Please have a look into below posts... might help for the scenario you are after...
https://community.powerbi.com/t5/Desktop/filtering-fields-to-show/m-p/566713#M267403
- santoshransubhe7 years agoRegular Visitor
Thanks. I checked the posts. I already have data in unpivot form. My problem is only with table header column which i want to rename based on slicer value. Any idea how to manipulate the table header using any functions?
- v-chuncz-msft7 years agoCommunity Support
Simply use a matrix visual, drag Table2[ColumnName] to Columns, measure below to Values.
Measure = SUM ( Table1[StatValue] )