Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi - Any help is gratefully appreciated. I've been looking at this problem for a few hours now and am stumped.
The Position
I have the following measures set to a format of Short Date
FY End = LASTDATE(CalendarLookup[Calendar_Date])
FY Start = FIRSTDATE(CalendarLookup[Calendar_Date])
CalendarLookup is an XLSX doc table.
Solved! Go to Solution.
Hi,
Do you happen to have a relationship between your calendar table and maintance forecast? If you reference measures in a calculated column they will be evaluated in the columns filter context. and thus they will return the date used in the realtionship. If you add ALL to your end and start measures your calculations should work. This picture might elaborate what I mean (here I used LASTDATE measure and placed it in a calculated column):
FY End = CALCULATE(LASTDATE(CalendarLookup[Calendar_Date]),ALL(CalendarLookup[)) Should work.
I hope this helps and if it does consider accepting this post as a solution and giving it a thumbs up!
Proud to be a Super User!
Hi @ValtteriN
Thanks for the reply. I don't have a relationship between the tables. I did try the ALL but it didn't solve my problem.
However, your suggestion of moving the measure into a calculated column did work. I moved it into the MaintenanceForecast table and that problem has now been fixed. Thank you so much for the suggestion.
Hi,
Do you happen to have a relationship between your calendar table and maintance forecast? If you reference measures in a calculated column they will be evaluated in the columns filter context. and thus they will return the date used in the realtionship. If you add ALL to your end and start measures your calculations should work. This picture might elaborate what I mean (here I used LASTDATE measure and placed it in a calculated column):
FY End = CALCULATE(LASTDATE(CalendarLookup[Calendar_Date]),ALL(CalendarLookup[)) Should work.
I hope this helps and if it does consider accepting this post as a solution and giving it a thumbs up!
Proud to be a Super User!
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 23 | |
| 12 | |
| 11 | |
| 9 | |
| 8 |