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
mwen90
Helper III
Helper III

31 date columns

Hi, 

 

I have a table, which has 62 columns. 1 column is a date column, the other is a value for that day.

 

How can I build a relationship for date between all the date columns? I have a date table, but because its only linked to one column, I am only getting the data for all dates on the 1st of the month. I can't get anything else,

 

Thanks for the help!

2 REPLIES 2
mwen90
Helper III
Helper III

@PhilipTreacy  thanks for getting back to me. 

 

Not sure it was the way the data was given to me in an excel.

 

Screen shot is what we have, so 62 columns, 1 row of dates and 1 row of data and it goes from the 1st to 31st, 

 

Thanks for the help!PowerBI help (1).PNG

PhilipTreacy
Super User
Super User

Hi @mwen90 

Are you saying you have 31 columns containing dates in your fact table?  If so,why do you have this?

Normally you would just have a single date or datetime column and then relate that to the date table. In the date table you would then have different columns for things like day of week, day of month, month,month name, quarter etc etc and that's how you slice the data according to the granularity defined in the Date Table columns.

regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


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