The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hello - I need help counting the same order no of each order serial. Below is the DAX I created but it is not giving me the count result of each order serial.
Count = CALCULATE(count(Table1[Order No]),ALLEXCEPT(Table1,Table1[Order No]))
Thanks
Attached is the PBIX Data. Click Here
Solved! Go to Solution.
I make a change on your code:
Count Order No = COUNTAX(FILTER(Table1,Table1[Order No]=EARLIER(Table1[Order No])&&Table1[ID]=EARLIER(Table1[ID])),[Order No])
Is this the output you want?
Best Regards,
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I make a change on your code:
Count Order No = COUNTAX(FILTER(Table1,Table1[Order No]=EARLIER(Table1[Order No])&&Table1[ID]=EARLIER(Table1[ID])),[Order No])
Is this the output you want?
Best Regards,
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
65 | |
62 | |
60 | |
53 | |
30 |
User | Count |
---|---|
181 | |
82 | |
67 | |
48 | |
44 |