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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
rajibmahmud
Helper III
Helper III

Time intelligence related query

Hi, I am working with a set of historical data along with forecast from where I need to calculate current year YTD Actual

 

The data table is similar to below table. I have Actual 2017 till Jun and rest is forecast. My requirement is to calculate YTD Jun actual for CY, PY and so on as well as Full year value using time intelligence. I am aware it requires to have date assigned, for that I marked Jan 2015 as 01/01/2015, Feb 2015 as 01/02/2015 and so on using Custom column. Can someone please help? 

 

VersionYearMonthValue
Actual2015Jan307
Actual2015Feb195
Actual2015Mar302
Actual2015Apr788
Actual2015May703
Actual2015Jun800
Actual2015Jul159
Actual2015Aug409
Actual2015Sep615
Actual2015Oct571
Actual2015Nov141
Actual2015Dec716
Actual2016Jan151
Actual2016Feb580
Actual2016Mar346
Actual2016Apr398
Actual2016May419
Actual2016Jun639
Actual2016Jul525
Actual2016Aug699
Actual2016Sep668
Actual2016Oct769
Actual2016Nov774
Actual2016Dec428
Actual2017Jan688
Actual2017Feb701
Actual2017Mar750
Actual2017Apr699
Actual2017May640
Actual2017Jun251
Forecast2017Jul197
Forecast2017Aug133
Forecast2017Sep660
Forecast2017Oct325
Forecast2017Nov771
Forecast2017Dec427
1 REPLY 1
kcantor
Community Champion
Community Champion

Time intellegence requires a seperate and complete date table. make sure you have one with a valid relationship to your fact table. The method you use to create the date in your fact table is fine as long as your date table has all dates and not just the beginning of the month.

I would probably create a SUM using Calculate for the YTD filtering by your keyword of Version and leaving out anything that is listed as Forecast.

Something like:

Value Sume = CALCULATE(SUM(Fact[Value]), [Version]="Actual")

Then using the date table roll that calculation into a YTD.

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




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.