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 a todos
Tengo un gráfico en el que quiero mostrar elementos que no tienen datos solo cuando la fecha es en el futuro.
Actualmente, si activa un filtro relativo, muestra correctamente todos los elementos con eso. Entonces agregué +0 a la medida para que muestre las fechas sin datos, pero ahora recupero las fechas anteriores sin que se muestren los datos.
¿Alguna idea sobre cómo solucionarlo?
¡Gracias!
Solved! Go to Solution.
¿Qué tal agregar un cero condicional?
[measure] + IF ( MAX ( dimDate[Date] ) > TODAY(), 0 )
¿Qué tal agregar un cero condicional?
[measure] + IF ( MAX ( dimDate[Date] ) > TODAY(), 0 )
@Rm666652 , Pruebe una medida como
0 entre rangos
Medida = var _1= SUMA(Oportunidad[Recuento de oportunidades]) +0
var _min = minx(ALLSELECTED('Calendario'), 'Calendario'[Fecha])
var _max = maxx(ALLSELECTED('Calendario'), 'Calendario'[Fecha])
devolución
CALCULATE(if(max('Calendar'[Date]) <_min || max('Calendar'[Date]) >_max , BLANK(), _1))
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 |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |