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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

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
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.