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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
12scml
Resolver I
Resolver I

Matching Start Dates with Month numbers

Hello!

I'm currently working with 6 tables that carry values from various locations based on month number. So all of the tables share the same locations and share months numbered 1-100, but with different values. The issue is that month 1 corresponds to a different start date for every month (Example: Month 1 in Toronto is January 2015 while Month 1 from Vancouver is July 2016). I have a table that indexes all of these start dates based on their locations, but I don't know how to sort the data so that it can line up on one chronological date line. 

As of right now, they are all related based on these month numbers, which allows me to create graphs, but I would like to relate them with a date line rather than month number. 

Is there any way of sorting this data through Power BI without reentering the data?

1 ACCEPTED SOLUTION

Hi! Thanks for your help but I was actually just able to get it now! I attached a date column with every table and used the "fill" command to make sure that no dates were missing. From there, I was able to establish a relationship between my tables. 

View solution in original post

4 REPLIES 4
v-ljerr-msft
Employee
Employee

Hi @12scml,

 

Could you post all your structures with some sample data and your expected result, so that we can better assistant on this issue? It's better that you can also share a sample pbix file if possible. You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading. Smiley Happy

 

Regards

Hi! Thanks for your help but I was actually just able to get it now! I attached a date column with every table and used the "fill" command to make sure that no dates were missing. From there, I was able to establish a relationship between my tables. 

Hi @12scml,

 

Great to hear the problem got resolved! Could you accept your reply above as solution to close this thread? Smiley Happy

 

Regards

Anonymous
Not applicable

Generally, you are gonna want to link them all up to 1 common calendar table.   How you do that will depend a bit on if you want to aggregate the data by "everybody's week #1, whenever that was" vs "June 2016 for everyone".  You will likely need to create calculated columns on the fact tables to make them nicely "match" to your calendar strategy.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.