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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Cars10
Frequent Visitor

Manager can drill-through, Employee must not. DAX for user dependent drill-through wanted.

  • I want to show/hide a drill-through right-click option to certain user groups only. 🤔🤔

    Cars10_3-1623017526245.png

  • I use a table Tab1 with Columns Col1,Col2 on the first tab of a report:
    Col1, Col2 
    A,6
    B,7
    C,8
    D,9

  • And another Table Tab2 on a second tab with columns 
    Col2,Col3
    7,one
    7,three
    7,two
    8,four
    9,five

  • There is a relationship between those two tables via Col2. 

    Cars10_0-1623016293035.png

  • To create a drill through I drop  Col2 into the drill through area

    temp.PNG
  • My Question: Depending on the user in the Users Table (in my project I use Roles and Filters)  how can I show or hide the drilldown right click option


     

  • Cars10_2-1623017109672.png

     

  • THANKS a lot for your help in advance.
 
2 REPLIES 2
v-kkf-msft
Community Support
Community Support

Hi @Cars10 ,

 

Accroding to my understanding, you don't hide a drill-through right-click option to certain user groups. You can only hide the data of the Col3 column in drillthrough page like this:

 

image.png

 

image.png

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

Best Regards,
Winniz

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

 

 

Hi v-kkf-msft, 
thank you very much for your answer but the solution doesn't hide the drillthrough. Sure I can use RowLevelSecurity but then I offer the user an empty page.

I was thinkin of a DAX Expression on Page 2 like:

 

Visibility = IF (User = "Manager", Col2, BLANK())

 

In case of BLANK() the user won't see a drillthrough on right click.

Thanks in advance.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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