Forum Discussion
Anonymous
7 years agoNot applicable
Sumx with Dynamic Year
Hello, I got a question. I want to make the following formula with a new column: % = Umsatz[Umsatz]/SUMX(FILTER(Umsatz;Umsatz[Bereich]="Ums"&&Umsatz[Jahr]=2017);Umsatz[Wert]) But instead of 201...
Anonymous
7 years agoNot applicable
you could use a slicer selection output in place of 2017. refer to below link for details
https://www.sqlbi.com/articles/using-the-selectedvalue-function-in-dax/
- Anonymous7 years agoNot applicable
Ok something is still wrong. In my table the SumMyPeriod, is now the sum of the Row but not the overall of the year. But just in my table. When I put it in a single card, it's the overall sum.
Measure
SumMyPeriod = SUMX(FILTER(Umsatz;Umsatz[Bereich]="Ums"&&Umsatz[Jahr]=[MyPeriod]);Umsatz[Wert])
Measure MyPeriod = SELECTEDVALUE(Umsatz[Jahr])
Measure
Percentage = DIVIDE(Umsatz[Umsatz];Umsatz[SumMyPeriod])- Anonymous7 years agoNot applicable
please provide sample file