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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Momie2005
Frequent Visitor

Hiding JUST sensitive data per country

Hello all, 

I need some help on a problem , I have 3 tables Costumer and Customer-Contact with a Relationship with the CUSTID field and Users Table (with list of CUID of the users of the report) as shown in the model below 🙂

 

 

 

Momie2005_1-1638535317896.png

 

 


I want to hide  JUST the sensitive data (email,First name and last name) but to see the custumerID in both table based on the country of the user(using username Dax function), but when I use this Dax in the role,

 

Momie2005_2-1638535317899.png

 

 

I hide also the CustumerID field =>I'm loosing data 😕

 

 

 

Momie2005_4-1638535317905.png

 

 

 

 

This is what i want for a user Connected from ITALY => seeing all the data of the model BUT just the sensitive data(Customer_CONTACT TABLE) of the ITALY (email+NAME) and for others sensitive data Blank as he is from ITALY.

 

Momie2005_5-1638535317909.png

 

 

 

 


Coud you please advice ? 

Many thanks in advance

2 ACCEPTED SOLUTIONS
Greg_Deckler
Community Champion
Community Champion

@Momie2005 Here is one pattern for column level security: Column Level Security - Microsoft Power BI Community.

There is also OLS that you can use in Tabular Editor but in my opinion it causes more problems than it solves.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

Anonymous
Not applicable

Hi @Momie2005,

Did Greg_Deckler 's suggestions help with your scenario? if that is the case, you can consider Kudo or accept his suggestions to help others who faced similar requirements.

If that also doesn't help, please share more detailed information to help us clarify your scenario to test.

How to Get Your Question Answered Quickly 

Regards,

Xiaoxin Sheng

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @Momie2005,

Did Greg_Deckler 's suggestions help with your scenario? if that is the case, you can consider Kudo or accept his suggestions to help others who faced similar requirements.

If that also doesn't help, please share more detailed information to help us clarify your scenario to test.

How to Get Your Question Answered Quickly 

Regards,

Xiaoxin Sheng

Greg_Deckler
Community Champion
Community Champion

@Momie2005 Here is one pattern for column level security: Column Level Security - Microsoft Power BI Community.

There is also OLS that you can use in Tabular Editor but in my opinion it causes more problems than it solves.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler  many thanks I will try the Pattern and get back to you 🙂

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.