Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Need a help in formula

Dear Experts   Can someone please help me achieve this % value in the measure column based on the total of Qty. Please help me with the formula. Thanks in advance MAHAD
  • johnt75's avatar
    4 years ago

    Assuming that Qty is a measure, you could use

    Qty % =
    var currentQty = [Qty]
    var totalQty = CALCULATE([Qty], ALLSELECTED())
    return DIVIDE( currentQty, totalQty)