Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
I want to creat a summarize table that contains the average and the median of a variable. The problem begins when I start to calculate the median, it shows a message "The DAX expression for calculated table 'Cumplimiento SLA' results in a variant data type for column 'Mediana Días'. Please modify the calculation such that the column has a consistent data type.". The Dax is:
Solved! Go to Solution.
Hi @Anonymous ,
You may use MEDIANX function:
MEDIANX ( SLA_BcaEmpresas, [Días] *1.0 )
Best Regards,
Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
You may use MEDIANX function:
MEDIANX ( SLA_BcaEmpresas, [Días] *1.0 )
Best Regards,
Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
It works! Thak u so much.