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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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