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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 35 | |
| 34 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 137 | |
| 102 | |
| 68 | |
| 66 | |
| 64 |