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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Yrstruly2021
Helper V
Helper V

Date, Fiscal Table

I am trying to create a date table, to link it to my public holiday table. The created date table does not contain any data, please assist?

See: https://drive.google.com/file/d/1CBpFLkw37E5aeYSG9RXMLTzOXUCdcn4m/view?usp=sharing

1 ACCEPTED SOLUTION
V-pazhen-msft
Community Support
Community Support

@Yrstruly2021 
I see no problem with your model, every table was connected using the correct column. It seems you didn't use dax to create the calendar table in Power BI Desktop.

 

Just some insights: you could also use the following dax to create a table:

Calendar table = Calendar(Date(2020,1,1), Today())

 

Then create other columns using dax, for example:

Year = Year([Date])
Day = Day([Date])

Weekday name= FORMAT([Date],"DDDD")
weekday= IF(WEEKDAY([Date],2)<=5,TRUE(),FALSE())
 
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
V-pazhen-msft
Community Support
Community Support

@Yrstruly2021 
I see no problem with your model, every table was connected using the correct column. It seems you didn't use dax to create the calendar table in Power BI Desktop.

 

Just some insights: you could also use the following dax to create a table:

Calendar table = Calendar(Date(2020,1,1), Today())

 

Then create other columns using dax, for example:

Year = Year([Date])
Day = Day([Date])

Weekday name= FORMAT([Date],"DDDD")
weekday= IF(WEEKDAY([Date],2)<=5,TRUE(),FALSE())
 
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
Yrstruly2021
Helper V
Helper V

Is my data model correect in terms of relationships? https://drive.google.com/file/d/1CBpFLkw37E5aeYSG9RXMLTzOXUCdcn4m/view?usp=sharing 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Top Solution Authors
Top Kudoed Authors