Forum Discussion

lawada4's avatar
lawada4
Frequent Visitor
3 years ago
Solved

total sum value in table visual is wrong

im trying to calculate the total commission by all salespersons. i have 2 tables , one table shows the commission by catgory and the other table shows sales transactions by salespersons.   i create...
  • tamerj1's avatar
    3 years ago

    Hi lawada4 

    please try

    Total Commission =
    SUMX (
    SUMMARIZE (
    'categories trans',
    'categories trans'[AGENT_NAME],
    'categories trans'[Category]
    ),
    CALCULATE ( SUM ( 'categories trans'[Commission] ) )
    )