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
This seems like a simple issue, but I can't seem to find out how to include a Count within a count
Measure = COUNTROWS(Table2)
Var= CALCULATE(COUNTROWS(Table1), Filter(ALLSELECTED(Table1[field], count(Table2[field]) = Measure)))
I can see that max or min works, but the Bold does not.
Thoughts?
Thank you for the response. I might have a solution using RankX, so I'll experiment some more first. As I can't use some functions e.g., Earlier (Live Data issue), I'm trying to find a work around. Thanks
Hi,
Could you give us input data and the output you want to have, and explain the logic that leads you to the output data?
Best regards.
Hi, @SO
Your code is a bit messy and the basic syntax is inaccurate.Is there a relationship between these two tables?
Please show your dsqmple data and expected results in the table.
This will help us better understand your problem.
Best Regards,
Community Support Team _ Eason
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 22 | |
| 22 | |
| 18 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 61 | |
| 52 | |
| 47 | |
| 41 | |
| 38 |