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 have [Tbl_Sales] that has daily sales [tbl_sales.Dates] (dd/mm/yyyy) and [SalesAmount]
I want a DAX calculation to show something like - Total sales per month, Averaged over the last 6 months (full months) minus 50%.
Thanks in advance
hi @goraem
could elaborate your expectation on "averaged over the last 6 months (full months) minus 50%"?
Total Sales per month since July 2022 (july to December is 6 months whole)
Then
Average (i.e each month had 6 sales so the avg is 6) minus 50% = 3
Then
I want to plot this as a static line on a chart so compare total month sales as stacked columns
| Date | Total Sales |
| 1/07/2022 | 13 |
| 2/07/2022 | 13 |
| 3/07/2022 | 16 |
| 4/07/2022 | 17 |
| 5/07/2022 | 13 |
| 6/07/2022 | 13 |
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!