- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Dynamic Column Names & RLS
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
02-28-2024 04:43 AM | |||
04-01-2024 12:16 AM | |||
05-03-2024 07:05 AM | |||
08-29-2024 02:50 PM | |||
12-27-2023 07:26 AM |
User | Count |
---|---|
140 | |
110 | |
81 | |
60 | |
46 |