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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
srkase
Helper IV
Helper IV

DAX COMMAND

I have one excel sheet with the following column names..

 

shortname with values north,east,west,south ---- [which contains list of all our sales areas]

category with values motors, pumps,panels ----- [ list of items sold]

 

I have created a RLS using dax with  [Shortname] in {"North","west"} and applied it for a user in BI dashboard.

Now for the same user i need to give access only to [Category] {"motors"}.

 

Kindly post me the dax command for this .

 

I am a beginner in BI dashboard..

 

 

1 REPLY 1
Anonymous
Not applicable

Mate, you have to have a mapping table from the username (USERNAME() or PRINCIPALUSERNAME()) to the categories you want the user to be able to view. Then and only then can you create what you want. Please try to google RLS in DAX if nobody gives you a ready-made solution. There are many blogs out there treating this topic.

 

Best

Darek

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 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.