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.
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.