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
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
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!

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.