Forum Discussion

ybyb23's avatar
ybyb23
Frequent Visitor
4 years ago
Solved

Card with total based on a condition from calculated values

Hi all,    I am trying to create a Key measure that will highlight the % of two values based on a condition.    Context: I have two measures, one calculates the Sales of current year and the othe...
  • johnt75's avatar
    4 years ago

    You could just use DIVIDE

    % diff = DIVIDE( [Current Year], [Previous Year])

    If either measure returns blank then so will the DIVIDE function