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
Hello,
I am currently using a dax formula in a calculated column to complete the following Count formula.
I am needing to move this to a Power Query custom column to save memory.
NewStep=Table.ReplaceValue(Table.NestedJoin(Summary,{"Customer","Mode"},OrderTable,{"Customer","Mode"},"Orders in Route",JoinKind.LeftOuter),each [DateTime],"",(x,y,z)=>if x=null then x else Table.RowCount(Table.SelectRows(x,each [Depart]<=y and [Arrive]>=y)),{"Orders in Route"})
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 15 | |
| 11 | |
| 9 | |
| 9 | |
| 8 |