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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register 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.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.