Forum Discussion

KeyData's avatar
KeyData
Frequent Visitor
8 years ago
Solved

including blanks in an average with summarize

Hi,   I´m trying to compute monthly sales average using summarize, but my formula is excluding blank values so it´s producing wrong results. How can i change the following dax formula to include an...
  • Ashish_Mathur's avatar
    Ashish_Mathur
    8 years ago

    Hi,

     

    See if this works

     

    =STDEVX.P(SUMMARIZE(Calendar,Calendar[YearMonth],"MonthlyQtty",sum(Sales[Quantity])),[MonthlyQtty])