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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Aixia
Helper II
Helper II

Problem with MinDate and MaxDate

Hi 

 

I have a FY calendar starting from 20230901 and ending on 20280831.

Aixia_3-1712241008525.png

Aixia_4-1712241048448.png

 

But when I calculated the MinDate and MaxDate for the FY calendar, the MaxDate I got was 20250831, not 20280831.

Aixia_1-1712240377087.png    

Aixia_2-1712240390588.png

Aixia_0-1712240279050.png

Did I write the wrong dax measure for it? Or is there another reason for that?

 

Br/Aixia

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Aixia , measure takes filter, and slicer values and will be restricted by those.

 

You can Try all to remove the filter context

 

Maxx(all('Dim Fiscal Calendar'), 'Dim Fiscal Calendar'[Date])

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Aixia , measure takes filter, and slicer values and will be restricted by those.

 

You can Try all to remove the filter context

 

Maxx(all('Dim Fiscal Calendar'), 'Dim Fiscal Calendar'[Date])

@amitchandak 

Yes! It works. Thanks a lot. 

 

Br/Aixia

 

 

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.