I need to calculate the median number of construction days for multiple projects across multiple markets and based on whether the project is completed or not.
Examples
- ROW A = Markets
- ROW B = Days in Construction
- ROW C = Status (P=Pending A=Completed)
I am using table references and my formula below returns a #VALUE! error:
=MEDIAN( IFS( [@Market], Details[Market Combined], Details[On-Air S]="P", Details[Current Days Count CXs to Today]))