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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount 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