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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I am struggling with getting the correct output for a few measures. I am trying to calculate the total sum of sale invoiced and ordered in the same month and year per working day.
These outputs are too high and should be around 150-165k.
The first measure that is totaling 233.8k is:
Okay thanks,
How would I get the average sales of the previous month + the average sales of 2 months ago + average sales of 3 months ago? I need it to be rolling. The highlighted part filters for sales that were ordered and invoiced in the same month since we do have sales that are ordered and invoiced in different months as well but I do not want those included in the sum.
Hi @Libbyb23 ,
Looking at your formula, I am wondering why you needed to multiply by 3 as yellow highlighted the {3 Month Trend] measure which already seems to take account of the 3 months sales data. It appears that multiplication by 3 should be removed to obtain a more reasonable output in line with your expectations.
|
Best regards,
Hi!
Thanks for the feedback. Do you know if that 3 month trend value is an average per month out of the last 3 months? Or is it a sum of the value of sales for 3 months?
Hi @Libbyb23 ,
I am not sure about what exactly the yellow highlighted part represents. However, the formula below represents 3 months sales up to today.
|
Best regards,
Hi,
Hmm, could you help me calculate the sum of sales for previous month for sales that were ordered and placed in last month, then 2 months ago, etc?
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!