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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
AllanBerces
Post Prodigy
Post Prodigy

Weekly and Cumulative Progress

Hi good day,

Can anyone help me on my measure. I have table Trade, Progress and Week_Column, What we required is
1. Calculate progress of the last week (in my table wk26)
2. Calcualate the cumulativ progress from week 1 to last week

 

The Week word in the Week_column is the current week

 

AllanBerces_0-1751331498701.png

DESIRED OUTPUT

AllanBerces_1-1751331523793.png

Thank you

1 ACCEPTED SOLUTION

@AllanBerces 

updated the measure 2 

 

Measure 2 =
var _week=CALCULATE(max('Table'[Column]),all('Table'))
return maxx(FILTER('Table','Table'[Column]=_week),'Table'[Progress])
 
11.png
 
pls see the attachment below




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

11 REPLIES 11
ryan_mayu
Super User
Super User

@AllanBerces 

don't know how you get hte weekly progess output. Could you pls elaborate the calculation logic?

 

for the second column, you can try this

 

Measure = sumx(FILTER('Table','Table'[Week]<>"Week"),'Table'[Progress])
 
11.png




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Hi @ryan_mayu the weekly progress is the max week value, which is on my table week 26

 

@AllanBerces 

you can create a column

 

Column = if('Table'[Week]="Week",blank(),'Table'[Week])
 
then create a measure
Measure 2 = CALCULATE(max('Table'[Column]),all('Table'))
11.png
 
pls see the attachment below




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Hi @ryan_mayu thank you for the reply, but the value is not correct, the value should be Progress on maxx week on my table is 32 under Civil Trade.

@AllanBerces 

you said the max week is 26, why it's 32 for Civil? could you pls more about this? I didn't see 32 in the column





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Hi @ryan_mayu on the week column- 26 , only civil has progress during that time which is 32

AllanBerces_0-1751337817463.png

Thank you

is 32  a fixed number ? what if week column changed to 27? what will the week be for civil?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Hi @ryan_mayu 32 is the Progress of Civil during week -26, now this week is week-27 the Progress of each trade I dont know how many they can completed by the end of this week27 which is on sunday. 

@AllanBerces 

updated the measure 2 

 

Measure 2 =
var _week=CALCULATE(max('Table'[Column]),all('Table'))
return maxx(FILTER('Table','Table'[Column]=_week),'Table'[Progress])
 
11.png
 
pls see the attachment below




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




hi @ryan_mayu thank you very much, working all rigth.

you are welcome





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors