Forum Discussion

jameshoneywill's avatar
jameshoneywill
Frequent Visitor
3 years ago
Solved

Product Gap Analysis

Hi  I have made a simple measure to calculate whether a customer buys a product last month or not,  GAP Product A = IF(CALCULATE(     [BilledGrossProfit],         filter(             ...
  • johnt75's avatar
    3 years ago

    Its because the measure always returns a result for any combination of customer and company. Either filter the results to only show when the value is Yes or change the measure so that instead of "No" it returns BLANK().

    If you need to identify legitimate customers who did not buy the product then you would need to wrap your existing measure inside another IF statement which checks whether the current combination of company and customer is valid.