Forum Discussion

jonoren's avatar
jonoren
Frequent Visitor
4 years ago
Solved

Many to Many relationship Standard Deviation Calculation

For the example, I have 2 simple tables:  1. Countries Table: CountryID   Name                 CurrencyCode 1 United States USD 2 United Kingdom GBP 3 Canada CAD 4 Germany ...
  • v-yalanwu-msft's avatar
    4 years ago

    Hi, jonoren ;

    The relationship as follow:

    Then create a measure.

     

    Measure = STDEVX.S(SUMMARIZE('ExchangeRate',[CountryDate],[CurrencyCode],'ExchangeRate'[Value]),[Value])

     

    The final show:


    Best Regards,
    Community Support Team _ Yalan Wu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.