Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
How calculate the number of calendar days in the period selections, regardless of the selections on the tables?
Thank You,
John -
Why would this not work?
Max({1<Month = $::Month, Year = $::Year, Date = $::Date, Quarter = $::Quarter, MonthYear =$::MonthYear>}Date) - Min({1<Month = $::Month, Year = $::Year, Date = $::Date, Quarter =$::Quarter, MonthYear = $::MonthYear>}Date)
Ah, yeah, that should work. Or because I'm crazy and have to make things more complicated in the name of making them simpler:
max({1<[$(=concat({<[$Table]={'Calendar'}>} distinct [$Field]&']=$::['&[$Field],'],['))]>} [Date]) - min({1<[$(=concat({<[$Table]={'Calendar'}>} distinct [$Field]&']=$::['&[$Field],'],['))]>} [Date])