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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.