Forum Discussion
Selected date from DATE SLICER
Try like
'AsOfDate' = MAXX('Date','Date'[Date])Hi, it's the same error. "MAXX is not allowed as part of calculated column...."
I think this is related to "Unrestricted measures of Direct query". They used to have options to "Allow unrestricted measures for Diect Query" in Options and Setting, but this option is gone.
Thanks,
- dax6 years ago
Community Support
Hi admin-xlsior,
When use Direct Query, some function can't be used in calcuated column, you could refer to DAX formula compatibility in DirectQuery mode for details.
In addition, you said that you use "before" in slicer, I think which work like a calendat picker
You could choose date in calendar instead of use max date.
Best Regards,
Zoe ZhiIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- admin_xlsior6 years ago
Post Prodigy
Hi,
Yes, the calendar tool is working fine. I can input using that or the slider. But I need to capture the value for my next formula. That's why I'm using MAX because I only want to get the 2nd value ("To" date)
That's is why I'm using DAX. But currently I get error because it is not allowed.
Thanks,