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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
koningii
Frequent Visitor

Showing the wrong dates

I am using in the model a created calender table for the dates but somehow it shows the wrong dates in the graph. How can this be solved?

 

koningii_0-1641553385375.png

 

2 REPLIES 2
v-chenwuz-msft
Community Support
Community Support

Hi @koningii ,

 

Have you created a relationship between the data table and the calendar table?

Or is the x-axis of your chart not continuous?

If yes, you can try set the format of this graph.

vchenwuzmsft_0-1641883934361.png

 

If i misunderstood you, please share your pbix file without sensitive data.

 

Best Regards

Community Support Team _ chenwu zhu

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

amitchandak
Super User
Super User

@koningii , On single date table, One active one inactive join and two measure 

 

example

 


Started = CALCULATE(COUNTrows(Table]),USERELATIONSHIP(Table[IFC_ACT],'Date'[Date]),not(ISBLANK(Table[IFC_ACT])) )

Ended = CALCULATE(COUNTrows(Table]),USERELATIONSHIP(Table[IFC_PLAN],'Date'[Date]),not(ISBLANK(Table[IFC_PLAN])))

 

 

refer

 

https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...

 

 

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

Helpful resources

Announcements
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.