Forum Discussion
Hiding a column based on a user
parry2k Is there a way to make it blank or with a "-" based on a user logged in? They only have read only access to the dashboards.
parry2k Any ideas would be great please :)
- parry2k8 years ago
Super User
You can add calculated field and check if user has permission to see the value to that field or not and then make that field blank()
here is link for reference
Just an idea
Amount Hide = var r = IF(CONTAINS(UsersTable,UsersTable[login], USERNAME()), 1, 0) return if(r = 1, Table[Amount], blank())
- Anonymous8 years agoNot applicable
Does this get added as a Page Filter Measure? If I have a field that is dragged into a table or matrix visual then that has the review rating, how does this prevent it from being visible?
I guess what is where I am struggling a bit.
- parry2k8 years ago
Super User
Sorry Anonymous didn't explain well, I assumed you have amount field you want to hide, so this new calculated column will give blank value and then use calculated field in your report instead of your original field