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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Vallirajap
Resolver III
Resolver III

MIN Function

We are noticing a differnce in behaviour when using the <datecolum> vs <datecolumn>.date 

 

In the below example, we tried the Min_Date calcualtion in two different ways.

 

Option Way 1: 

Min Date = MIN(OINV[DocDate].[Date])

Screenshot (76).png
 
Option Way 2:
Min Date = MIN(OINV[DocDate])
Screenshot (78).png
 
Is there are fundamental difference when using <datecolumn>.date 
 
My understanding was it should just format. Any input or clarity on this will be helpful.
 
Thanks in advance, 
Valli Raja P
2 REPLIES 2
v-jingzhang
Community Support
Community Support

Hi @Vallirajap 

 

You may refer to Auto date/time in Power BI Desktop - Power BI | Microsoft Learn

 

The auto date/time is a data load option in Power BI Desktop. When the option is enabled, Power BI Desktop creates a hidden auto date/time table for each date column, providing all of the following conditions are true:

  • The table storage mode is Import
  • The column data type is date or date/time
  • The column isn't the "many" side of a model relationship

 

Auto date/time tables are permanently hidden, even from modelers. They don’t appear in the Fields pane or the Model view diagram, and its rows don’t appear in Data view. Also, the table and its column can’t be directly referenced by DAX expressions. If it were possible to see the rows of an auto date/time table, they would look similar to the following example. The example shows seven columns with 10 rows of data from January 1, 2019 to January 10, 2019.

vjingzhang_1-1688004052233.png

 

If it were possible to see an auto date/time table in the Model view diagram, it would look like the following tables with related columns highlighted:

vjingzhang_2-1688004121245.png

 

When you use Min Date = MIN(OINV[DocDate].[Date]), while this measure expression is valid in Power BI Desktop, it's not correct DAX syntax. Internally, Power BI Desktop transposes your expression to reference the true (hidden) auto date/time table column.

 

So sometimes you may find the results are different when you reference a date column and when you reference a related hidden auto date/time table date column. 

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

Mahesh0016
Super User
Super User

@Vallirajap Please uncheck Auto date/time in > file > option settings > Global&& Current file > Data load

Mahesh0016_2-1687844086688.png

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.