Forum Discussion

abc_777's avatar
abc_777
Solution Specialist
5 years ago
Solved

Two column from two different field to multiple

I want to multiple one column table with one of my measure In my Measure I do Quantity * Unit Price and these column are in same table   I do Average, MIN, and MAX but its giving me wrong answer ...
  • amitchandak's avatar
    5 years ago

    abc_777 , When you do the product of two numbers, you need to do it at row level or some common group level.

     

    You need use values or summarize from same column

    Tab has [Column] common from A and B Joined on column

     

    example 

    sumx( values(Tab[Column]), calculate(Sum(TableA[Value]) * Sum(TableB[Value])))