Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have a power bi dashboard, the user can filter on account id, I need a dax query to return what the filtered account id is.
The account id is in a table however the account id could be repeated mutliple times.
I have tried evaluate row in dax however returns NULL. I need this dax query to work along side power automate.
Solved! Go to Solution.
Hello @Huzy001 ,
You can use the below DAX code to show the filtered account ID
Filtered_AccountID = SELECTEDVALUE('YourTable'[AccountID])
If there are multiple account ID's are selected then please use the below code
Filtered_AccountID = CONCATENATEX(VALUES('YourTable'[AccountID]), 'YourTable'[AccountID], ", ")
If you're using Power Automate to pass the filtered result, ensure you are referencing the measure Filtered Account ID in the right context. Power Automate can extract this result via the Power BI connector.
If you find this helpful , please mark it as solution which will be helpful for others and Your Kudos/Likes are much appreciated!
Thank You
Dharmendar S
Hello @Huzy001 ,
You can use the below DAX code to show the filtered account ID
Filtered_AccountID = SELECTEDVALUE('YourTable'[AccountID])
If there are multiple account ID's are selected then please use the below code
Filtered_AccountID = CONCATENATEX(VALUES('YourTable'[AccountID]), 'YourTable'[AccountID], ", ")
If you're using Power Automate to pass the filtered result, ensure you are referencing the measure Filtered Account ID in the right context. Power Automate can extract this result via the Power BI connector.
If you find this helpful , please mark it as solution which will be helpful for others and Your Kudos/Likes are much appreciated!
Thank You
Dharmendar S
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |