Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi Team,
Kindly provide the solution for the following issue, i have A Table and B Table. A Table contains id, name ,salary date, B table has the same as table A conatains , So i would like to have an output as shown in the image , Hereby i have attached an image for your reference.
Thanks,
Gladis
Solved! Go to Solution.
Hi @gladies123 ,
Use the following dax create measure:
TOTAL = COUNT(A[A ID])ACT = COUNTROWS(FILTER('A',CONTAINS('B',[ID],'A'[A ID])))INACT = COUNT(A[A ID])-COUNTROWS(FILTER('A',CONTAINS('B',[ID],'A'[A ID])))
Final get :
Wish it is helpful for you!
Best Regards
Lucien
Hi @gladies123 ,
Use the following dax create measure:
TOTAL = COUNT(A[A ID])ACT = COUNTROWS(FILTER('A',CONTAINS('B',[ID],'A'[A ID])))INACT = COUNT(A[A ID])-COUNTROWS(FILTER('A',CONTAINS('B',[ID],'A'[A ID])))
Final get :
Wish it is helpful for you!
Best Regards
Lucien
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 27 | |
| 26 | |
| 25 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 51 | |
| 48 | |
| 43 | |
| 39 | |
| 36 |