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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi,
Need some help with this.
I need a running total for the amount of instances in each Sales Order, in my example I have highlighted the 3 main varaibles.
(Sales Orders, Date of Change and my Solution)
However my solution is only giving me the amount of lines in each Sales Order.
My answer for 2 lines = 2,2 and for 3 lines = 3,3,3.
But I want it to start at 1 and count the amount of lines per Sales Order.
2 lines = 1,2 and for 3 lines = 1,2,3 etc. etc.
Any help would be amazing!
Corey
Solved! Go to Solution.
Hi @cfurminger
You can try this DAX:
Number of orders per Orders = COUNTX (
FILTER ( 'System Note Dataset COREY TEST (2)', EARLIER('System Note Dataset COREY TEST (2)'[Record] ) = 'System Note Dataset COREY TEST (2)'[Record] && EARLIER('System Note Dataset COREY TEST (2)'[Date]) >= 'System Note Dataset COREY TEST (2)'[Date] ),
'System Note Dataset COREY TEST (2)'[Record]
)
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
Hi @cfurminger
You can try this DAX:
Number of orders per Orders = COUNTX (
FILTER ( 'System Note Dataset COREY TEST (2)', EARLIER('System Note Dataset COREY TEST (2)'[Record] ) = 'System Note Dataset COREY TEST (2)'[Record] && EARLIER('System Note Dataset COREY TEST (2)'[Date]) >= 'System Note Dataset COREY TEST (2)'[Date] ),
'System Note Dataset COREY TEST (2)'[Record]
)
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 64 | |
| 53 | |
| 42 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 121 | |
| 103 | |
| 46 | |
| 30 | |
| 24 |