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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.