This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi everyone, I'm new to power by and I want to obtain this results from my data
What I want to do is a running count based on the value in fields "Assigned To" that is numerically sorted like in the image below
Any suggestions? Thanks
Solved! Go to Solution.
Hi @Federico92 ,
this seems to work.
Count =
VAR OrderID = 'Sample Data'[Order]
RETURN
CALCULATE (
COUNTROWS ( 'Sample Data' ),
FILTER (
ALLEXCEPT ( 'Sample Data', 'Sample Data'[Group] ),
'Sample Data'[Order] <= OrderID
)
)
Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials
Hi @Federico92 ,
can you provide sample data and describe which column is used for sorting?
In the image with the expected result, I don't see any reference to the "Assigned To" column.
Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials
https://drive.google.com/file/d/1pTdvJHx7GQokfhmI4AiOxQIkWtCxR5WC/view?usp=sharing
Hi @Federico92 ,
this seems to work.
Count =
VAR OrderID = 'Sample Data'[Order]
RETURN
CALCULATE (
COUNTROWS ( 'Sample Data' ),
FILTER (
ALLEXCEPT ( 'Sample Data', 'Sample Data'[Group] ),
'Sample Data'[Order] <= OrderID
)
)
Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 35 | |
| 27 | |
| 26 | |
| 22 | |
| 18 |
| User | Count |
|---|---|
| 67 | |
| 36 | |
| 32 | |
| 26 | |
| 23 |