Quantcast
Channel: All Developer posts
Viewing all articles
Browse latest Browse all 48084

Re: Averages by time period and cumulative for averages

$
0
0

Maripo wrote:

Hello, I am trying to calculate averages for selected periods and cumulative totals for those averages. No issues calculating Cumulative total per period for Actuals Quantity.

Actuals Cumulative Total = CALCULATE (DemandAttainment_Sales[Actuals Quantity],

FILTER (ALLSELECTED(Date_Dim),

Date_Dim[Date] <= max(Date_Dim[Date])  ))

But cannot find a way to calculate averages for Current Plan Demandand Cumulative Total for calculated averages (highlighted in the data pic below).  My visual and data should look like that:

Any help is greatly appreciated

 

tCapture.PNGCapture1.PNG


For the averages for Current Plan Demand,maybe you can tryALLEXCEPT. I can't get idea of Cumulative Total for calculated averages from the pictures, maybe you can share any sample pbix and expected output.


Viewing all articles
Browse latest Browse all 48084

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>