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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

Custom Calendar for sales data aggregated by weeks and months

Hello,

 

I am struggeling with creating Custom Calendar that would allow me to use time intelligence function on data that is already aggregated by weeks and months. The original table with transactions contains over 20M rows, so for performance and space saving reasons the grouping is necceseary and I perform it whle querying the database in SQL Server. I want to create:

- Month vs Same Month Last Year

- Week vs Same Week Last Year

- Year-To-Date vs Last Year Year-To-Date (by Months)

- Year-To-Date vs Last Year Year-To-Date (by Weeks)

 

My idea was to assign some dummy dates to each row of data, and then create custom calendar that would have each of these dummy dats allong with other details. I just cannot figure out the key (how to create dummy date having Year number Month number and Week number - please keep in mind that for example Week 5 of 2020 is  partialy in January and partialy in February)

 

Is it possible? Maybe I have to create 2 separete Calendars, one for Weeks and one for Months

 

0 REPLIES 0

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.