Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
ronron
New Member

summarize column with preceeding rows

Hi,

 

i hope someone could help me on my small problem to solve in PowerBI. In sql i would use window functions like "sum(work_diff) over (partition name order by name, date rows unbounded preceding)"

My data table is something like 

 

datenamework_diffwanted result
20190110emp122
20190110emp211
20190111emp2-10
20190112emp233
20190114emp1-11
20190114emp2-12

 

i am searching for the "wanted result" column. In that column should be the summarized value of "work_diff" with all preceeding rows included. I tried already summarize and sumx, but i cant get it working.

Maybe someone could help.

THANK YOU

Ron

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi ronron,

See image I've attached and tell us if works for you.

 

summarize.png

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi ronron,

See image I've attached and tell us if works for you.

 

summarize.png

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.