Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
bheepatel
Resolver IV
Resolver IV

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 IDSpend ($)Region
A1000USA
A2000UK
A3000AUS

 

 

Client IDSpend ($)Product Type
B2000Shoes
B3000Apparel
B4000Accessories

 

Currently, we have merged the two tables as follows:

 

Client IDSpend ($)Custom Field 1
A1000USA
A2000UK
A3000AUS
B2000Shoes
B3000Apparel
B4000Accessories

 

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!

 

1 ACCEPTED SOLUTION
v-lili6-msft
Community Support
Community Support

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

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-lili6-msft
Community Support
Community Support

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

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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?

amitchandak
Super User
Super User

@bheepatel , see if you merge this with RLS

 

https://www.youtube.com/watch?v=6jeSIRpjv0M

 

or refer

https://www.pbiusergroup.com/communities/community-home/digestviewer/viewthread?MessageKey=91eecba8-...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.