Forum Discussion
AlessandroBet
Helper V
5 years agoConverting excel formula to DAX
Hi,
i need to convert a simple excel formula to DAX
The column B reads from column A + previous value
It is a accumulated sum
Cell B2= A2
Cell B3= A3+B2
Cell B4 =A4+B3
......etc
Many thanks. It works fine
7 Replies
- aj1973
Community Champion
- AlessandroBet
Helper V
Yes i have the column "A" and i have to build the column "B" with DAX function
- aj1973
Community Champion
VoilĂ
here is the measure,
Total Turnover = CALCULATE(SUM(Sheet1[Turnover]), FILTER(ALLSELECTED(Sheet1),ISONORAFTER(Sheet1[Turnover], MAX(Sheet1[Turnover]), DESC)))
- AlessandroBet
Helper V
It doesn't work. I think there are some syntax errors inside your formula
I have replaced the "sheet1" with my table
- AlessandroBet
Helper V
Many thanks. It works fine