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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Working with calendar and time - god I hate this...

I honestly believe the developers intentionally made their calendar and time in Power BI with the purpose to annoy people.

 

Over and over again i run into the most stupid problems by default settings.

 

I have my month and year specified in the fiscal year/period. However, Power BI decided to skip every second month by default.

Anyone know how to fix this? and why would anyone want to do this by default?

cap1.PNG

 

 

Next, in the query editor, Power BI by default want to change my year to 1905. Why... seriously... Anyone know how to fix this?

 

 

cap2.PNGcap3.pngcap4.PNG

2 ACCEPTED SOLUTIONS

For the first issue, have you tried changing the x-axis to categorical data instead of continuous?  You can't really do this for line charts but it should work for a ba chart.

View solution in original post

Stachu
Community Champion
Community Champion

regarding 2) - year in your example is clearly not a Date type, it's Integer

when you force the change 2017 to a Date type it assumes 2017 days from 31 Dec 1899

why do you think the Year needs to be of type Date?



Did I answer your question? Mark my post as a solution!
Thank you for the kudos 🙂

View solution in original post

2 REPLIES 2
Stachu
Community Champion
Community Champion

regarding 2) - year in your example is clearly not a Date type, it's Integer

when you force the change 2017 to a Date type it assumes 2017 days from 31 Dec 1899

why do you think the Year needs to be of type Date?



Did I answer your question? Mark my post as a solution!
Thank you for the kudos 🙂

For the first issue, have you tried changing the x-axis to categorical data instead of continuous?  You can't really do this for line charts but it should work for a ba chart.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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