Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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?
@bheepatel , see if you merge this with RLS
https://www.youtube.com/watch?v=6jeSIRpjv0M
or refer
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
99 | |
76 | |
64 | |
58 |
User | Count |
---|---|
148 | |
113 | |
97 | |
84 | |
67 |