Forum Discussion
danish169
Helper I
4 years agoDay Grouping Weighted Average
Hello experts, Having a problem with the following dataset of orders - the order id's are nested under the day of the month: I need to work out the average market unit rate by calcu...
- 4 years ago
Many thanks I was getting stuck on the visual / dax itself which was throwing my maths off. I just had to divide the total order value by qty and ey voila.
amitchandak
Super User
4 years agodanish169 , Create a meausre like
Calculate([#DailyWeightedAvg], allexcept(Table, Table[Date]))
or
Calculate([#DailyWeightedAvg], filter(allselected(Table), Table[Date] = max(Table[Date])) )