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

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

Reply
Anonymous
Not applicable

Could you please help me to get the Forecast values through the DAX calculation

Please find the below screenshot, it has information like the Date and Quantity columns.
So there I should  get the  Quantity values for the date column between  '7/1/2022' to '4/1/2023' 

We should get the  average for the last 12-months Quantity ----- 12-Months QTY/12
12-Months QTY/12---It should be in '7/1/2022' .......... 12-Months QTY/12---It should be in '4/1/2023'

Please find the below screenshot for your understanding purposes, there highlighted with color, so that highlighted values how we get it

Kiran4_0-1655824647136.png

Thanks 
Kiran

1 ACCEPTED SOLUTION
v-easonf-msft
Community Support
Community Support

Hi, @Anonymous 

For now, DAX is not suitable for this kind of iterative operations. If possible, please processe this part of the data preferentially  in excel and then imported into PowerBI.

 

Best Regards,
Community Support Team _ Eason

View solution in original post

2 REPLIES 2
v-easonf-msft
Community Support
Community Support

Hi, @Anonymous 

For now, DAX is not suitable for this kind of iterative operations. If possible, please processe this part of the data preferentially  in excel and then imported into PowerBI.

 

Best Regards,
Community Support Team _ Eason

Anonymous
Not applicable

Thanks for your suggestion, it's working fine

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.