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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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