Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. 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.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
93 | |
85 | |
83 | |
71 | |
49 |
User | Count |
---|---|
143 | |
132 | |
110 | |
66 | |
55 |