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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
alicek
Helper III
Helper III

AUTOCALENDAR does not automatically let the date column become a hierarchy of year-month-day?

Hello, 

Does anyone know how to make PowerBI recognize a date column automatically as a hierarchy of Day, Month, and Year? It worked in one of my files when it was a simple date column; however, it does not do so in my file that has a separate date table made using AUTOCALENDAR(). 
 
The reason I ask is that currently, the only measure in the date table that PowerBI will recognize as a "continuous" variable for x-axis (and therefore enable a trend line) is the date column in the date table. But it forces all others, like the Year or Month measures, to be categorical, and doesn't let me apply a trend line. 
 
Doesn't work here:

 Date_NoWork_Mzrs.PNG

 
 
 
 
 
Date_NoWork_DAX.PNG
 
 
Does work here:
In my other files, with the date column, it did work.In my other files, with the date column, it did work.
Under the Modeling tab, their Data Type is both "Date."
 
Both of them are recognized as Date data types.Both of them are recognized as Date data types. 
 
Any thoughts?
 
Thank you,
Alice
1 ACCEPTED SOLUTION
mwegener
Most Valuable Professional
Most Valuable Professional

Hi @alicek ,

 

I found the following workaround.

Use binning on date.

https://docs.microsoft.com/en-us/power-bi/desktop-grouping-and-binning#using-binning

 

If I answered your question, please mark my post as solution, this will also help others.

Please give Kudos for support.

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


View solution in original post

5 REPLIES 5
mwegener
Most Valuable Professional
Most Valuable Professional

Hi @alicek ,

 

I found the following workaround.

Use binning on date.

https://docs.microsoft.com/en-us/power-bi/desktop-grouping-and-binning#using-binning

 

If I answered your question, please mark my post as solution, this will also help others.

Please give Kudos for support.

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


@mwegener Thank you! That worked! It's a work around, but unfortunately it doesn't have quarters as any options, only year, month and day. That's fine for now -- but any idea how to get Quarters in there as an option?

 

Or any idea why it is not automatcally creating the hierarchy like in the other file?

 

 
mwegener
Most Valuable Professional
Most Valuable Professional

Hi @alicek ,

 

FYI

https://docs.microsoft.com/en-us/power-bi/desktop-auto-date-time

 

Please give Kudos for support.

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


JarroVGIT
Resident Rockstar
Resident Rockstar

Have you marked it as a datetable?

 

image.png

 

Kind regards

Djerro123

-------------------------------

If this answered your question, please mark it as the Solution. This also helps others to find what they are looking for.

Keep those thumbs up coming! 🙂





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Hm @JarroVGIT I'm not seeing that option. Could explain the path to see that button?

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors