March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Dear all,
I have a pretty simple table with a date column dated 01.01.2022 to 31.12.2023 as below. Under the report review, I apply the Date slicer and the range chosen is 01.01.2022 to 19.11.2022.
For the two measures I have created as below, they are considered the same and the only difference is illustrated in below. The XXX.[Date] is actually auto by the system when the measure is written. Can you please help me to understand why these 2 measures generate different Max Date outcome?
Table Table
Report View with a Date Slicer
Measure 1
Mesure 2
Solved! Go to Solution.
Hi @kelvin-lkhca
MAX(Table_Date[Date]) returns the maximum date value from the Date column of the ‘Table_Date’ table, whereas MAX(Table_Date[Date].[Date]) returns the maximum date value from the Date hierarchy of the ‘Table_Date’ table.
The slicer only affects the date column, not the hierarchy of that date.
For more information about date hierarchies in Power BI, you can refer to this documentation:
Auto date/time in Power BI Desktop - Power BI | Microsoft Learn
If you want to turn off date hierarchies in Power BI, you can do so by following these steps:
Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @kelvin-lkhca
MAX(Table_Date[Date]) returns the maximum date value from the Date column of the ‘Table_Date’ table, whereas MAX(Table_Date[Date].[Date]) returns the maximum date value from the Date hierarchy of the ‘Table_Date’ table.
The slicer only affects the date column, not the hierarchy of that date.
For more information about date hierarchies in Power BI, you can refer to this documentation:
Auto date/time in Power BI Desktop - Power BI | Microsoft Learn
If you want to turn off date hierarchies in Power BI, you can do so by following these steps:
Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
120 | |
77 | |
59 | |
53 | |
40 |
User | Count |
---|---|
193 | |
106 | |
88 | |
62 | |
51 |