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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
mohit_K
Helper I
Helper I

Row Level

Hi @v-jingzhang 

 

There is a slight change in the data structure can you please help me in resolving this

 

Current Database Structure:

 

Territory IDZone IDRegion IDMarketing Manager IDTerritory ValueZone ValueRegion ValueMarketing ValueSKU ID
11111110012025302522
11111110023035403523
21111110025055605523
21111110016065656522
32211110013035403522
32211110024035403523
322111100350455045

24

 

 

 

I have following users:

Territory IDEmail Id 
1T1@gmail.com 
2T2@gmail.com 
3T3@gmail.com 
   
   
   
Zone IDEmail ID 
11Z1@gmail.com 
22Z2@gmail.com 
   
   
   
Region IDEmail ID 
111R1@gmail.com 
   
   
Marketing Manager IDSKU IDEmail ID
100122M1@gmail.com
100223M2@gmail.com
100324M3@gmail.com

 

 

Desired Output: I have created single table with single value which will be filtered based on user 
     
For     
Territory IDEmail Id   
1T1@gmail.com  
Territory IDZone IDRegion IDMarketing Manager IDValue (This will come from Territory Value Column)
111111100120
111111100230
     
     
For    
Zone IDEmail ID   
11Z1@gmail.com  
Territory IDZone IDRegion IDMarketing Manager IDValue  (This will come from Zone Value Column)
111111100125
111111100235
211111100255
211111100165
     
For    
Region IDEmail ID   
111R1@gmail.com  
Territory IDZone IDRegion IDMarketing Manager IDValue (This will come from Region Value Column)
111111100130
111111100240
211111100260
211111100165
322111100140
322111100240
322111100350
     
For    
Marketing Manager IDSKU IDEmail ID  
100122M1@gmail.com 
     
Territory IDZone IDRegion IDMarketing Manager IDValue (This will come from Marketing Value Column)
111111100125
211111100165
322111100135

 

And how do we do it on Direct Query Database ???

3 REPLIES 3
v-stephen-msft
Community Support
Community Support

Hi @mohit_K ,

Could you tell me if your problem has been solved?
If it is, kindly Accept it as the solution. More people will benefit from it.
Or you are still confused about it, please provide me with more details about your table and your problem or share me with your pbix file from your Onedrive for Business.


Best Regards,
Stephen Tao

mohit_K
Helper I
Helper I

@v-stephen-msft  Thanks, I will check it once and let you know

v-stephen-msft
Community Support
Community Support

Hi @mohit_K ,

 

Create an Email ID role, and write the following expressions in the four user tables respectively.

1.png2.png3.png5.png

After publishing to Power BI Service, in the security of the dataset, add your email address in the user table. Note: The person or group added to the security needs to be within the organization.

6.png

 

Test result

4.png

 

You can view the creation content of my role in the attachment. But note that you need to replace the Email ID with the mailboxes of members in your organization, otherwise it will not succeed.

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.