Forum Discussion
Sumarization issue with DAX formula
- 1 year ago
Try the second solution and this
SUMX(
Values(Dimension[ArtikelCategorie]),
Calculate( sum(fact_Orders[Order Marge Bedrag €] )) *
IF (
Dimension[ArtikelCategorie] = "Contract", 10, 1)
)
Deku I tried this but changing the Value Filter behaviour doesnt seem to change anything and the second solution also does not seem to work or I am doing it wrong. For the second solution, I just tried to copy the table and then use the column there for the categories.
Try the second solution and this
SUMX(
Values(Dimension[ArtikelCategorie]),
Calculate( sum(fact_Orders[Order Marge Bedrag €] )) *
IF (
Dimension[ArtikelCategorie] = "Contract", 10, 1)
)
- Rbakker8881 year ago
Helper II
Due to some of how my semantic model is build I had to very slightly edit it but this got me the correct base, thank you.
My final formula:
SUMX(
VALUES(Dimension[ArtikelCategorie]),
CALCULATE( [Order Marge Bedrag €] ) *
IF( SELECTEDVALUE(Dimension[ArtikelCategorie]) = "Contract", 10, 1 )
)