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

Date Table Data not populating in reports

Hello, I am recently back from Maternity leave and running into an issue I figured out before but can't recall how. 

 

I have a date table and an alert ticket table. I created the relationship between the two table. I am trying to pull the Week & Year from my Date Table against the Created Date on my alert table but it populates blank. 

 

 

AmberJane_1-1696602441852.pngAmberJane_2-1696602458094.png

 

 

1 ACCEPTED SOLUTION
marcelsmaglhaes
Super User
Super User

Hey @AmberJane !

The issue you're encountering with the two tables related by a Date column stems from a data type mismatch. One table contains the Date/Time data type, which includes both date and time information, while the other table has only the Date data type, which stores dates without the associated time component. To resolve this issue, you have a few options:

1. Modify the Data Type:

You can modify the data type in one of the tables to match the other. If you choose to retain the Date/Time data type, you can format it to display only the date portion. Conversely, if you convert it to the Date data type, the time information will be truncated.

2. Create a Calculated Column:

In the table with the Date/Time data type, you can create a new calculated column that extracts only the date part of the Date/Time column. For example, in Power BI or Excel, you can use a formula like DATE(YEAR([DateTimeColumn]), MONTH([DateTimeColumn]), DAY([DateTimeColumn])) to create a new Date column with just the date.

**If this post helps, please mark as solved. 

Regards,
Marcel




Regards,
Marcel Magalhães
Microsoft Power BI Official Partner
MCT | Certified PL-300 Power BI

If I've helped, don't forget to mark my post as a solution!



View solution in original post

4 REPLIES 4
AmberJane
Helper III
Helper III

I changed the filter to just show the last two weeks and now all the fields are populating... What is this life!!! 

 

AmberJane_1-1696610663744.png

 

AmberJane_2-1696610684472.png

 

AmberJane
Helper III
Helper III

I edited the relationship to the new calculated column and it seems to be working.

 

I take it back its still not working lol. If I use the Date and Week & Year from the Date table compared to the count of ticket IDs from the alert table it works but as soon as I add the Dates from the alerts table it breaks 😞 

 

AmberJane_0-1696610466472.png

 

AmberJane
Helper III
Helper III

Changed the column type to Date from Date/Time and still not populating. 

 

AmberJane_0-1696607151000.png

AmberJane_1-1696607161455.png

 

Created a calculated column and also did not resolve the issue 😞 

 

AmberJane_2-1696607334276.png

 

 

marcelsmaglhaes
Super User
Super User

Hey @AmberJane !

The issue you're encountering with the two tables related by a Date column stems from a data type mismatch. One table contains the Date/Time data type, which includes both date and time information, while the other table has only the Date data type, which stores dates without the associated time component. To resolve this issue, you have a few options:

1. Modify the Data Type:

You can modify the data type in one of the tables to match the other. If you choose to retain the Date/Time data type, you can format it to display only the date portion. Conversely, if you convert it to the Date data type, the time information will be truncated.

2. Create a Calculated Column:

In the table with the Date/Time data type, you can create a new calculated column that extracts only the date part of the Date/Time column. For example, in Power BI or Excel, you can use a formula like DATE(YEAR([DateTimeColumn]), MONTH([DateTimeColumn]), DAY([DateTimeColumn])) to create a new Date column with just the date.

**If this post helps, please mark as solved. 

Regards,
Marcel




Regards,
Marcel Magalhães
Microsoft Power BI Official Partner
MCT | Certified PL-300 Power BI

If I've helped, don't forget to mark my post as a solution!



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.