The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
78 | |
70 | |
52 | |
50 |
User | Count |
---|---|
120 | |
120 | |
76 | |
62 | |
61 |