The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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
User | Count |
---|---|
28 | |
12 | |
8 | |
7 | |
5 |
User | Count |
---|---|
36 | |
14 | |
12 | |
7 | |
7 |