Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hola
Creé una medida que calcula algunos valores. La medida tiene el siguiente aspecto:
Me di cuenta de que alguna medida no está produciendo el resultado deseado. Así que decidí depurar y escribí otra medida que se parece a la siguiente:
Solved! Go to Solution.
@myasir - Aquí hay un buen truco:
Normalized SAIDI 24 hrs Unplanned =
var Time30Min = MAX('Outages and Interruptions'[Epoch Half Hour Number])
Return
CALCULATE ( CONCATENATEX(
FILTER(
filter(ALL('Outages and Interruptions'),'Outages and Interruptions'[Epoch Half Hour Number] <= Time30Min && 'Outages and Interruptions'[Epoch Half Hour Number] >= Time30Min-47),
[Zero Min Interruption]&&[Zero Customer Interruption]&&[External and LV interruptions]&&[description not contains]&&[Unplanned Interruption]), [Normalised SAIDI 30 Mins Unplanned]),",")
Reemplace su agregador como SUMX por CONCATENATEX y luego puede ver lo que está pasando "dentro" de su tabla esencialmente. Además, considere dividir el CALCULATE en variables adicionales y luego puede devolver variables individuales como parte de la medida para ver esencialmente lo que está sucediendo dentro en cada paso de la medida.
@myasir - Aquí hay un buen truco:
Normalized SAIDI 24 hrs Unplanned =
var Time30Min = MAX('Outages and Interruptions'[Epoch Half Hour Number])
Return
CALCULATE ( CONCATENATEX(
FILTER(
filter(ALL('Outages and Interruptions'),'Outages and Interruptions'[Epoch Half Hour Number] <= Time30Min && 'Outages and Interruptions'[Epoch Half Hour Number] >= Time30Min-47),
[Zero Min Interruption]&&[Zero Customer Interruption]&&[External and LV interruptions]&&[description not contains]&&[Unplanned Interruption]), [Normalised SAIDI 30 Mins Unplanned]),",")
Reemplace su agregador como SUMX por CONCATENATEX y luego puede ver lo que está pasando "dentro" de su tabla esencialmente. Además, considere dividir el CALCULATE en variables adicionales y luego puede devolver variables individuales como parte de la medida para ver esencialmente lo que está sucediendo dentro en cada paso de la medida.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
2 | |
2 | |
2 | |
2 | |
1 |