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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

Linking table with date table

When I link a table with attribute [date appointment] to my data table, a lot of data gets lost somehow. I've done this with other tables too, but nothing gets lost there. 

 

With link to data table

Sohan_0-1617703173598.png

 

Without link to data table

Sohan_1-1617703230886.png

 

 

 

 

Does anyone know why this might happen?

4 REPLIES 4
amitchandak
Super User
Super User

@Anonymous , Not very clear. Your date appointment table might have timestamp, that can cause date join to fail

 

create a new date column like

 

Date = [date appointment].date
or
Date = date(year([date appointment]),month([date appointment]),day([date appointment]))

 

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
Anonymous
Not applicable

Hi,

 

This is what I have right now:

 

Datum =
ADDCOLUMNS (
CALENDAR (DATE(2000,1,1), DATE(2025,12,31)),
"DateAsInteger", FORMAT ( [Date], "YYYYMMDD" ),
"Year", YEAR ( [Date] ),
"Monthnumber", FORMAT ( [Date], "MM" ),
"YearMonthnumber", FORMAT ( [Date], "YYYY/MM" ),
"YearMonthShort", FORMAT ( [Date], "YYYY/mmm" ),
"MonthNameShort", FORMAT ( [Date], "mmm" ),
"MonthNameLong", FORMAT ( [Date], "mmmm" ),
"DayOfWeekNumber", WEEKDAY ( [Date] ),
"DayOfWeek", FORMAT ( [Date], "dddd" ),
"DayOfWeekShort", FORMAT ( [Date], "ddd" ),
"Quarter", "Q" & FORMAT ( [Date], "Q" ),
"YearQuarter", FORMAT ( [Date], "YYYY" ) & "/Q" & FORMAT ( [Date], "Q" ),
"WeekNumber",WEEKNUM([Date]),
"Year WeekNumber", FORMAT ( [Date], "YYYY" ) & "/Week" & WEEKNUM([Date])
)

@Anonymous , I think the problem is there with the date appointment has timestamp, Change the data type to datetime and choose a format with time, if you see any other time than 12 AM, it means there is a problem

Refer I discussed why Time intelligence fails

https://www.youtube.com/watch?v=OBf0rjpp5Hw

 

 

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
Anonymous
Not applicable

Hi @amitchandak, I had [date appointment] in Power Query as date, not timestamp. So it probably shouldn't be that. 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.

Users online (4,345)