Forum Discussion
ThomasWeppler
Impactful Individual
4 years agoSum all previous values
Hi Power Bi comunity I want to sum up all previous values for a specifik assignment. Below you can see a table with three colums. An assignemnt ID which show which projekt we are looking at. A m...
- 4 years ago
ThomasWeppler , You have try a new column like
sumx(filter(Table, [month index]<=earlier([Month Index]) ),[omsætning])
or
sumx(filter(Table, [month index]<=earlier([Month Index]) && [assignmentid] = earlier([assignmentid]) ),[omsætning])
amitchandak
Super User
4 years agoThomasWeppler , You have try a new column like
sumx(filter(Table, [month index]<=earlier([Month Index]) ),[omsætning])
or
sumx(filter(Table, [month index]<=earlier([Month Index]) && [assignmentid] = earlier([assignmentid]) ),[omsætning])
- ThomasWeppler4 years ago
Impactful Individual
Thanks for the quick respond.
Your second line worked perfectly.