Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hallo Everyone,
I want to have a measure that uses all selcect on two different tables to include their Slicer in the Report .
Could someone please correct the measure bellow?
Solved! Go to Solution.
Hi @Anonymous ,
All column arguments of the ALL/ALLNOBLANKROW/ALLSELECTED function must be from the same table.
Try to create a relationship between the two tables and use the relationship column as the parameter of the ALLSELECTED () function.
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
All column arguments of the ALL/ALLNOBLANKROW/ALLSELECTED function must be from the same table.
Try to create a relationship between the two tables and use the relationship column as the parameter of the ALLSELECTED () function.
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , refer if this can help
https://www.sqlbi.com/articles/the-definitive-guide-to-allselected/
Not sure if I understand exactly what you mean, but would this work?
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
Thank you for your reply. I have added your measure, but I am not getting any value, like below.
The Plant name is in the dimention table and it has a direct relationship to the table with the date.
SL D_Plant and SL F_Events have a relationship
Hi @Anonymous ,
Has your problem been solved? If yes please consider Accept it as the solution to help the other members find it more quickly.
Best regards,
Lionel Chen
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 44 | |
| 43 | |
| 33 | |
| 30 | |
| 27 |
| User | Count |
|---|---|
| 134 | |
| 114 | |
| 58 | |
| 57 | |
| 57 |