Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Need to calculate the count of products based on the group:
Issue: Getting circular dependency error while calculation of count for current month
| Group | Base Month | Current Month |
| A | 12 | 8 |
| B | 20 | 12 |
| C | 15 | 13 |
| D | 11 | 9 |
| E | 10 | 20 |
| F | 8 | 10 |
| G | 76 | 72 |
Hi @madhav2020 ,
Not very clear.
Can you share sample data and expected output.
Regards,
Harsh Nathani
Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!
Thanks Harsh. This will give you more clarity i believe.
| Emp Name | Period |
| Gokul | Mar-20 |
| Ramesh | Apr-20 |
| Raghu | Mar-20 |
| Venkat | Apr-20 |
| Rajini | Mar-20 |
| Kamal | Mar-20 |
Need a DAX query to calculate total count of instances in period column.
Expected output:
Mar-20= 4
Apr-20= 2
HI @madhav2020 ,
Use the measure
Measure =
CALCULATE (
COUNT ( 'Table'[Emp Name] ),
ALLEXCEPT (
'Table',
'Table'[Period]
)
)
Regards,
Harsh Nathani
Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!
Thanks harsh. It works perfect
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 3 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 8 | |
| 7 | |
| 6 |