Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi Experts,
My requirements is show Avg daily sales weekly and avg daily sales todate in hourly bucket(11am to 1 pm and 1 pm to 3 pm).
something like below
Solved! Go to Solution.
Try like
calculate(AVERAGEX (summarize(calculatetable('Calendar',datesytd('Calendar'[Date]))
,'Calendar'[Date],"_sales",[Sales Rev]),[_sales]))
@Anonymous ,
Can you provide sample data sample output
@amitchandak sir,
Here is my sample data. i also need to calculate avg sales todate daily
Hi @Anonymous ,
Have you tried the formula which amitchandak suggests? If yes, please mark the answer as a solution. If you still have problems, please share the image again. It is not working.
Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Try like
calculate(AVERAGEX (summarize(calculatetable('Calendar',datesytd('Calendar'[Date]))
,'Calendar'[Date],"_sales",[Sales Rev]),[_sales]))
User | Count |
---|---|
98 | |
91 | |
84 | |
71 | |
67 |
User | Count |
---|---|
114 | |
103 | |
100 | |
72 | |
64 |