Forum Discussion
Showing different table column name based on viewer roles
- 2 years ago
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 needed3 - 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 Parameter2 - Add new column
3 - Relationship between the two tables
4 - Final Output
I hope this can help you to solve your issue.
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.