Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago

undefined

How to caluclate the Weekback 0 column  based on Another column in same table using DAX function

 But here condition if Weekback 0 means 

Week Back 0 is sum of Forecast (Requirement Qty) where Week Back Number = 0

 

For Example there are three Weekback Number, Requirement Qty and Weekback columns in Same Table

If Weekback number =0 then we need to get sum of Forecast (Requirement Qty) then that will Weeback 0 column.

If Weekback number =1 then we need to get sum of Forecast (Requirement Qty) rthen that will Weeback 1 column.

If Weekback number =2 then we need to get sum of Forecast (Requirement Qty) then that will Weeback 2 column.

 

Like this my condition goes on.

can you please provide any logic

 

 

 

 

 

2 Replies