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! Request now

Reply
Dunner2020
Post Prodigy
Post Prodigy

Power BI date and time display issue

Hi there,

 

I have three tables: date, time, and customer information. Now I want to display information on table visulation in such a wat it shows date from date table, time from time table, no of customers from customer information table. When I drag the date and time columns into table visulation one of them stopped displaying information. I checked the relationship but could not find any issue. I have provided the link of sample file (https://1drv.ms/u/s!AucycxZHFe9TjS6G96JVtgslQLBX?e=aCmzB3 ). Could anyone guide me where am I making the mistake?

1 ACCEPTED SOLUTION

Did you make a new Time column in the query?  Changing the Data Type of the column in Data View is not enough.  To demonstrate, I made a new DAX time column from your Time (NZST) column with this formula.

 

Just Time =
TIME ( HOUR ( 'Customer Information'[Time (NZST)] ), MINUTE ( 'Customer Information'[Time (NZST)] ), SECOND ( 'Customer Information'[Time (NZST)] ) )

 

If I make the relationship using this time column instead, your visual works as expected.  You need to either change it to a true Time column in query or add a column like the one above.

 

If this works for you, please mark it as the solution.  Kudos are appreciated too.  Please let me know if not.

Regards,

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


View solution in original post

8 REPLIES 8
amitchandak
Super User
Super User

@Dunner2020 , I have not visited your link yet. If you have date-time.

 

You need to columns out from it Date and Time

 

Date = [datetime].Date // Join with date tbale

Time =[datetime].time  //join with time table

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

I have separate date and time columns in customer information table which is linked with date and time tables

Your Time(NZST) column used in your relationship is in DateTime format.  It still has the Date component.  You need to change that in the query editor so that it matches with the Time table values (which have 12/31/1899 default date component: all times have a date component, even when not visible so they have to match).

 

Regards,

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Yes I have changed the time format, but same behaviour.

Did you make a new Time column in the query?  Changing the Data Type of the column in Data View is not enough.  To demonstrate, I made a new DAX time column from your Time (NZST) column with this formula.

 

Just Time =
TIME ( HOUR ( 'Customer Information'[Time (NZST)] ), MINUTE ( 'Customer Information'[Time (NZST)] ), SECOND ( 'Customer Information'[Time (NZST)] ) )

 

If I make the relationship using this time column instead, your visual works as expected.  You need to either change it to a true Time column in query or add a column like the one above.

 

If this works for you, please mark it as the solution.  Kudos are appreciated too.  Please let me know if not.

Regards,

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Thanks @mahoneypat , You were right. I was making changes in the data view. When I made changes in the query, it worked. Thanks a new learning for me.

@mahoneypat , Thanks for your reply. I have changed the time formats into time format in both table. But did not fix the issue. Still does not display time.

I do not have a date-time column. 

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