Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi there,
I got the following data:
authorisation_id | role_id | identity_id |
1 | 1002 | 1 |
1 | 1002 | 2 |
1 | 3 | |
1 | 4 | |
1 | 5 | |
2 | 1003 | 3 |
2 | 1003 | 4 |
3 | 1004 | 5 |
4 | 1005 | 1 |
4 | 1005 | 2 |
4 | 1005 | 3 |
4 | 1005 | 4 |
4 | 1005 | 5 |
4 | 1005 | 6 |
4 | 1005 | 7 |
Now I want to do the following:
The problem I am running into, is that when I select an authorisation_id in a table in my report, it automatically filters role_id as well. I know I can prevent this by going to format -> edit interactions -> None on my role_id table visual. But this gives me all the role_id's, even the ones not associated with the identity_id's that have the selected authorisation_id. I tried solving this with some dax with calculated measures/columns so it gives a TRUE/FALSE based on if the role_id has one of the selected identity_id's, but I just can't make sense of it and neither can CoPilot etc.
So I am looking for a way to answer this question:
How can I show all the role_id's associated with the identity_id's that have the current selected authorisation_id.
Any help is appreciated and if you need any more info please let me know.
Solved! Go to Solution.
Thanks for the help everyone.
In the end I solved it the following way:
Thanks for the help everyone.
In the end I solved it the following way:
@CvanP check this video on my channel that talks about something similar, tweak the solution as you see fit.
https://www.youtube.com/watch?v=zS1IDl3DLak&feature=youtu.be
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
117 | |
85 | |
49 | |
38 | |
28 |
User | Count |
---|---|
189 | |
76 | |
73 | |
54 | |
42 |