I have a calculated field as below that calculates the median of some values but I want it to have values only when the parameter type is numerical. In categoricals I want to show Null
I have used the below but I get the mismatch aggregation error. I understand this is because the medial is calculated on dimensions profile, expense name, parameter label but how to overcome this and show values only in numerical types?
Hello @pantelis, we may be able to resolve the error by splitting it up into 2 calculations. First, you could write the ifelse statement to check for the Numerical value:
Hello @pantelis, since I have not heard back from you with any follow-up questions, I will mark my previous response as the solution. Please let me know if you still need assistance with this topic and I can guide you further. Thank you!