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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
fabiopaturzo
Helper I
Helper I

12 Month rolling new table calculate

Hi All,

I dowload these date diretly from Business Central,

and I needd for Item Number calucate in a new Table or new column he 12 month rolling updated every day or week

 

Item_NoSomma di Sold_QuantityYearQuarterlyMonthDAY
TANK120002022Trim 4November18
TANK 325002022Trim 4December1
TANK 330002022Trim 1February28
TANK22002022Trim 3August8
TANK280002022Trim 2June27
TANK250002022Trim 4November18
TANK 360002022Trim 4October25
TANK130002022Trim 4November3
TANK1400002022Trim 2April20
TANK 3234202022Trim 1February28
TANK1214002022Trim 1February18
TANK 3200002022Trim 3settembre8
2 REPLIES 2
amitchandak
Super User
Super User

@fabiopaturzo , You can create a new measure

 

example

Rolling 12 = CALCULATE(sum(Sales[Sales Amount]),DATESINPERIOD('Date'[Date],MAX('Date'[Date]),-12,MONTH))

 

 

Rolling Months Formula: https://youtu.be/GS5O4G81fww

 

Power BI Window function Rolling, Cumulative/Running Total, WTD, MTD, QTD, YTD, FYTD: https://youtu.be/nxc_IWl-tTc

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi Amiychandak

Can you please apply the formula on the follow table/ colomns name, I have some some errors?

Table name is Sales

fabiopaturzo_2-1676362225042.png

 

 

 

 

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.