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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
ShirinArshadnia
Helper II
Helper II

Average DAX Formula in Power Pivot with Monthnum

Hi everyone,

Could anyone help me with this scenario:

I have a column which is a month number from the begining we named months of each year a number for example may 2023  is 86 then june 2023 is 87 and so on ...

i want to have average of sales (for 9 month) and also (2 months )ago  from the getdate() and with the help of this monthnumber,

I would appreciate for any help

1 ACCEPTED SOLUTION
1 REPLY 1
lbendlin
Super User
Super User

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.

Top Solution Authors