Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi,
I'm trying to calculate average daily sales base on sample table above. For now if I calculate using measure, it will calculate only the total day of item sold and not the total month to date. As example, "IK YELLOW COPIER PAPER A4 450S 70G" only have 6 days of sales instead of total of 7 days. The measure calculate average for 6 days and not 7 days.
below is the ADS formula that I use currently.
@shahidalaila23 , seem fine at high level,
Try like
qty ADS = AVERAGEX(Summarize(MASTERCALENDAR,MASTERCALENDAR[itemcode], MASTERCALENDAR[DATE],"_1",[qty total]), [_1])
Can you share sample data and sample output in table format?
Hi yes,
Main data table *this my data table
and I have a master calender table
I have try the measure but it still show same result
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.