Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!View all the Fabric Data Days sessions on demand. View schedule
Dear~
I have the following data, red is historical data, green is current data (calculated using PREVIOUSMONTH), how do I calculate 202301, 202302, 202303, 202304 after yellow?
I have the date dimension table, as in the date on the left.
Although I use PREVIOUSMONTH again, 202302 comes out with empty data...but not workd.
Thanks in advance
BR
Soldier
@soldier_rong , Next 6 month exculding current
next Rolling 6 = CALCULATE(sum(Sales[Sales Amount]),DATESINPERIOD('Date'[Date],eomonth(MAX('Date'[Date]),0)+1,-6,MONTH))
next 6 months including the current
next Rolling 6 = CALCULATE(sum(Sales[Sales Amount]),DATESINPERIOD('Date'[Date],eomonth(Min('Date'[Date]),-1)+1,-6,MONTH))
Hi @amitchandak ,
Cool, however, the data on 202212 should be taken from 202211 and I drafted a sample data as the below.
This is an iteration that relies on the previous month's data (it started out as 202212 relying on 202211)
Thanks again.
BR,
Soldier
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!