Forum Discussion

jyaul12's avatar
jyaul12
Frequent Visitor
3 years ago
Solved

Total by category

Dear Friend,   i have five client and calculated their Sell Qty,Avg 1 Avg2 group by date( using DAX).   Then i calculate Profit by formula: Sell Qty *(Avg1-Avg2). The value i am getting individua...
  • jyaul12's avatar
    jyaul12
    3 years ago

    i solved it by measures:

    Profit =sumx(values(sheet1[companyid]), [Qty_A]*([Avg_A]-[Avg_B]))