Forum Discussion

Matt78's avatar
Matt78
Helper II
2 years ago
Solved

DAX formula doesn't sum correctly

Hi all,   I have been trying to figure out what I am doing wrong in this DAX formula. I have a normal sales table where I have cost, quantity and sales. Sales = qty x cost but now the following for...
  • tamerj1's avatar
    2 years ago

    HI Matt78 
    Please try

    Sales € =
    SUMX (
        SUMMARIZE (
            'Value Entries',
            'Value Entries'[Item No],
            'Value Entries'[Document No]
        ),
        [Qty x Purch Price]
    )