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.

View discussion in a popup

Replying to:
vapid128
Solution Specialist

we can average all weeks which have number.

 

calculate(average([COGS per day]),[COGS per day]>0)

 

 

we also can average all numbers before today.

calculate(average([COGS per day]),[week]<today())

View solution in original post