Forum Discussion
how to calculate SUM of Increase and decrease and summary of all
Hello
I have a table with amonth of order for each item (F[Value]) and the date of order (conceted to DIMDATE Table) , I needed to calulated sum of orders in selected month and it's prior month , so I did below measures :
Total = SUM(F[Value])
in the abouve table for header there is not any sum because my measures calulated them separatly .
Now , I need to calulate Sum of all increased and decreased and changes , I know that would be some row
all the increase and decreasing without considering the top headers.
I know that might be a row context calulation , but I dont know how I should apply it .
- Anonymous3 years ago
I found answere:
I have used this for decreasing :SUMX(FILTER(ALLSELECTED('Forecasting Folder'[PartNo]),[Forecast Quantity Changed]<0),[Forecast Quantity Changed])and this one for increaseing : SUMX(FILTER(ALLSELECTED('Forecasting Folder'[PartNo]),[Forecast Quantity Changed]>0),[Forecast Quantity Changed])
3 Replies
- nelsonwynnFrequent Visitor
Hello,
I also want to know answer about these question. I'm now occuring the same problem.
Thank you.
- AnonymousNot applicable
I found answere:
I have used this for decreasing :SUMX(FILTER(ALLSELECTED('Forecasting Folder'[PartNo]),[Forecast Quantity Changed]<0),[Forecast Quantity Changed])and this one for increaseing : SUMX(FILTER(ALLSELECTED('Forecasting Folder'[PartNo]),[Forecast Quantity Changed]>0),[Forecast Quantity Changed])- nelsonwynnFrequent Visitor
Thank you so much. I'll try with your instruction.