How to get average from a measure in Power BI desktop

后端 未结 1 1664
别跟我提以往
别跟我提以往 2021-01-15 12:37

In my data source I have column Quoted and Submitted.

Dividing the Sum(Quoted) by SUM(Submitted) gives us Sub to Quote ratio.

相关标签:
1条回答
  • 2021-01-15 13:16

    I would try something like this:

    Sub to Quote =
    AVERAGEX(
        SUMMARIZE(dim_Date,
            dim_Date[Qtr Year],
            "Average", DIVIDE( [Total Quoted], [Total Submitted] )
        ),
        [Average]
    )
    

    This summarizes your table to get the average for each quarter and then averages those averages.

    Note: This returns 8.15% rather than 8.18%. I'm guessing this is just a rounding difference though.

    0 讨论(0)
提交回复
热议问题