Forum Discussion

Baroumy's avatar
Baroumy
Regular Visitor
3 years ago
Solved

Sumx DAX

Hi, I'm having a problem with the sumx DAX which is resulting 0 for all rows.  The DAX is as below : Sales Price variance PY = sumx('Exploitation Values',[Prep Sales price variance P Y])   the ...
  • tamerj1's avatar
    3 years ago

    Hi Baroumy 
    You need to summarize the fact table by the slicing by columns:

    Sales Price variance PY =
    SUMX (
        SUMMARIZE ( 'Exploitation Values', [Column1], [Column2] ),
        [Prep Sales price variance P Y]
    )