Forum Discussion
PC2790
4 years agoCommunity Champion
Weekday having maximum average sales
Hey,
I am trying to get the weekday having maximum average of sales in my orders table.
This is irrespective of year and month, just the weekday.
I am trying this:
BestSellingWDonAverage =
var maxaverage = Maxx(SUMMARIZECOLUMNS(DatesTable[DayOfWeekName],"AvgSales",MeasuresTable[AverageSales]),[AvgSales])
return maxaverage
but this is giving me nothing by "Wednesday" base don the alphabet W.
Data attached for reference.
5 Replies
- Ashish_MathurSuper User
- PC2790Community Champion
Great!
I knew it needed a fresh set of eyes
Thankyou
- Ashish_MathurSuper User
You are welcome.
- RakiaRegular Visitor
hello!
How Can we show just the value of the average sales of a specific day ?
- Ashish_MathurSuper User
Hi,
Share some data, describe your question and show the expected result.