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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Diportee97
Helper I
Helper I

My calendar date and fact data date are conflicting

 

IMG_0961.jpeg

Hello guys,i ran into a slight issue concerning my calendar function..the month function on my y axis are blank and do not return any value,and also my calendar table date and fact data date are not corresponding,my  fact data date only has 2023 dates while my calendar date has 2023 and 2024 dates which has been causing a great conflict in my visuals,what do you think is the best way forward to this?

 

https://drive.google.com/file/d/1B4evZsPDqjQ7zyLrEty4bZJBUEC63Qdt/view?usp=drivesdk 

 

Thats the link to the data set for better understanding 

1 ACCEPTED SOLUTION
xifeng_L
Super User
Super User

This happens because the data types of the two fields of the join relationship do not match.

 

In this case, the date of the fact table is with time, while the date of the date table is without time, so the two don't match, causing the DAX engine to automatically add empty rows.

 

xifeng_L_0-1742959802327.png

 

You can go into PowerQuery and change the data type of the date field in the fact table to Date instead of DateTime.

 

xifeng_L_1-1742959996505.png

 

Or, just change the data type to "Whole Number", then change back to datetime type.

 

xifeng_L_2-1742960164562.pngxifeng_L_3-1742960174964.png

 

 

 

Did I answer your question? If yes, pls mark my post as a solution and appreciate your Kudos !

 

Thank you~

View solution in original post

2 REPLIES 2
xifeng_L
Super User
Super User

This happens because the data types of the two fields of the join relationship do not match.

 

In this case, the date of the fact table is with time, while the date of the date table is without time, so the two don't match, causing the DAX engine to automatically add empty rows.

 

xifeng_L_0-1742959802327.png

 

You can go into PowerQuery and change the data type of the date field in the fact table to Date instead of DateTime.

 

xifeng_L_1-1742959996505.png

 

Or, just change the data type to "Whole Number", then change back to datetime type.

 

xifeng_L_2-1742960164562.pngxifeng_L_3-1742960174964.png

 

 

 

Did I answer your question? If yes, pls mark my post as a solution and appreciate your Kudos !

 

Thank you~

Deku
Super User
Super User

  • Go to PowerQuery and set the dates in your fact table to Date type
  • Ensure relationship between date and fact table

Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

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.