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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors