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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Pbiuserr
Post Prodigy
Post Prodigy

Time intelligence on calendar connected via integer

Hello,

Is it possible to calculate for instance last year value when your calendar table is connected with fact tables with integers? 

If yes, then how?

1 ACCEPTED SOLUTION
vanessafvg
Super User
Super User

do you have a proper date in your date calendar?   it doesn't matter if you  join on integers as long as you have a date data type in the table ie date rather than datekey to pass to the function, it should work fine as you pass that date to the date function, and it is is a date table with continious dates.





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




View solution in original post

1 REPLY 1
vanessafvg
Super User
Super User

do you have a proper date in your date calendar?   it doesn't matter if you  join on integers as long as you have a date data type in the table ie date rather than datekey to pass to the function, it should work fine as you pass that date to the date function, and it is is a date table with continious dates.





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors