Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now
I am trying to show different column name for different viewer roles. I have a column in a table named ABC. I want to make it so that when I pick User 1 and User 2, the column header will be ABC, but when I change the viewer role to other roles e.g. User 3 the column header will change to XYZ. Is there a way to do this?
Solved! Go to Solution.
Hi @JC25,
I think it's possible to solve this problem using field parameters.
1 - Create a field parameter with the two columns that you want.
2 - Add a new column on your usernames/roles table that you are using to apply the RLS and classified each username with the number of the order parameter (created on the first step) according your needed
3 - Link the Parameter table with the usernames/roles table
4 - Use the parameters filed on the matrix instead of the column.
I did a quick example, please take a look:
1 - Field Parameter
2 - Add new column
3 - Relationship between the two tables
4 - Final Output
I hope this can help you to solve your issue.
Proud to be a Super User!
Hi @JC25,
Could you please tell me if my post solved your issue? If so, could you mark my message as the answer to this problem?
I'd be very grateful. Thank you very much
Proud to be a Super User!
Hi @JC25,
I think it's possible to solve this problem using field parameters.
1 - Create a field parameter with the two columns that you want.
2 - Add a new column on your usernames/roles table that you are using to apply the RLS and classified each username with the number of the order parameter (created on the first step) according your needed
3 - Link the Parameter table with the usernames/roles table
4 - Use the parameters filed on the matrix instead of the column.
I did a quick example, please take a look:
1 - Field Parameter
2 - Add new column
3 - Relationship between the two tables
4 - Final Output
I hope this can help you to solve your issue.
Proud to be a Super User!
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 40 | |
| 38 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 70 | |
| 69 | |
| 34 | |
| 33 | |
| 30 |