Hi! I have a pivot table in my dashboard where one column has the distinct count with a filter applied, and I need to add another column in the same pivot table where that distinct count does not have that filter applied. I want to be able to see the two values side by side to compare.
I was able to get it to work using this calculation:
distinctCountOver(AircraftRegistrationNumber, [OperatorICAOCode], PRE_FILTER).
However, I need to be able to apply the date parameters. When I add in the date parameters, I get syntax errors. Here’s what I have:
distinctCountOver(ifelse(({TakeoffDate}>=${pTakeoffDateStart} AND {LandingDate}<=${pTakeoffDateEnd}), {AircraftRegistrationNumber}),[{OperatorICAOCode}], PRE_FILTER)
Thank you.