Forum Discussion

JMSNYC's avatar
JMSNYC
Helper III
5 years ago
Solved

Sales Ratios Display

Hi.   Could you please help with the following problem: I have a FACT table from which I derived a sales ratio measure : Sales / Customers   Sales Ratio = divide('FACT'[Sales],DISTINCTCOUNT('FACT...
  • Anonymous's avatar
    Anonymous
    5 years ago

    Hi JMSNYC 

    For your requirement I would use the below formula to calculate by each country.

    SR  = CACLULATE(divide('FACT'[Sales],DISTINCTCOUNT('FACT'[Customer ID]),ALLEXCEPT('FACT','FACT'[Customer ID]))