Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hi everyone,
We have a dashboard which multiple clients use and we make use of RLS to ensure a client can only see their own data.
The input data for the dashboard has certain columns that are the same across clients, but certain columns that are different. Below is an example of such, where both Client A and B have a Spend ($) column, but the Region and Product Type columns are different.
Client ID | Spend ($) | Region |
A | 1000 | USA |
A | 2000 | UK |
A | 3000 | AUS |
Client ID | Spend ($) | Product Type |
B | 2000 | Shoes |
B | 3000 | Apparel |
B | 4000 | Accessories |
Currently, we have merged the two tables as follows:
Client ID | Spend ($) | Custom Field 1 |
A | 1000 | USA |
A | 2000 | UK |
A | 3000 | AUS |
B | 2000 | Shoes |
B | 3000 | Apparel |
B | 4000 | Accessories |
Is there a way to dynamically rename the column based on the Client ID? So if Client A is looking at the dashboard, they would see "Region" and Client B would see "Product Type" instead of "Custom Field 1".
Currently we are using pivoting and the matrix table visual but it is not the best workaround. The ideal solution would be to rename the column headers dynamically.
Any help would be much appreciated!
Solved! Go to Solution.
hi @bheepatel
Dynamic Column Names could not achieve in power bi for now, the best workaround is unpivot table and use matrix visual to get it.
Regards,
Lin
hi @bheepatel
Dynamic Column Names could not achieve in power bi for now, the best workaround is unpivot table and use matrix visual to get it.
Regards,
Lin
Thanks @v-lili6-msft
Would you happen to know if dynamic column header is in the pipeline of features to be added in the future?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.