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

Reply
Bobbys
Helper III
Helper III

Time calculations

Hi,

 

I'd like to calculate window-over-window change in my report. 

There are three windows, January, February and July.

The january window is only January, February window is between Feb 1st tot June 30th, July window is between July 1st and December 31st.  I want to compare these windows to the previous years, as well as to be able to compare the months in the respective window to the same month the year before. 

 

WindowTotal SalesTotal sales previous period (2021)   
2022-JAN1 000800   
January1 000800   
      
2022-Feb5001000   
February100200   
March100200   
April100200   
May100200   
June100200   
      

 

Due to these windows having different lenght, I haven't really been able to crack how to set up my time intelligence accordingly. 

Any help would be very appreciated

 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Bobbys,

I'd like to suggest you use the date function to extract the current date as a variable to calculate the previous date ranges, then you can simply use these 'date ranges' as conditions to filter on your table to get corresponding results. (date function does not require a calendar table and can simply nest and custom the filter ranges)

Time Intelligence "The Hard Way" (TITHW)  

Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Bobbys,

I'd like to suggest you use the date function to extract the current date as a variable to calculate the previous date ranges, then you can simply use these 'date ranges' as conditions to filter on your table to get corresponding results. (date function does not require a calendar table and can simply nest and custom the filter ranges)

Time Intelligence "The Hard Way" (TITHW)  

Regards,

Xiaoxin Sheng

Helpful resources

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

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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