Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
goraem
Frequent Visitor

Monthly Average, over 6 months as static line on clustered column graph

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

4 REPLIES 4
FreemanZ
Super User
Super User

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

hi @goraem 

could paste some sample data?

DateTotal Sales
1/07/202213
2/07/202213
3/07/202216
4/07/202217
5/07/202213
6/07/202213

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.