Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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 2017 I'd like to make a dynamic recognition for that row (I guess I cannot apply to a value on a combobox).
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/
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])
please provide sample file
do you have a date in that row???
If yes use YEAR(Table[date]).
Hopefully this is what you are looking for!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |