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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
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
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 54 | |
| 43 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 123 | |
| 106 | |
| 44 | |
| 32 | |
| 24 |