Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!See when key Fabric features will launch and what’s already live, all in one place and always up to date. Explore the new Fabric roadmap
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.
User | Count |
---|---|
88 | |
74 | |
69 | |
59 | |
56 |
User | Count |
---|---|
40 | |
38 | |
34 | |
32 | |
28 |