Hola
Quiero sincronizar 2 cuadros gráficos con un filtro de marca de tiempo general.
Mis datos están organizados así: marca de tiempo / parameter_name / valor.
- En el gráfico TOP, tengo datos con parameter_name = Temperatura actual, Punto de ajuste de temperatura efectiva, netatmo_temperature_haut y Compensación de calibración de la sonda de temperatura del 2 de febrero al 31 de marzo
- En el gráfico inferior, tengo datos con parameter_name = Taux de marche del 19 de febrero al 28 de marzo
Los gráficos están correctamente sincronizados porque uso el parámetro del eje X: start = fx( timestamp min) , end = fx (timestamp max),
con:
-----------------------------------------------------------------------------
Pero, cuando cambio el filtro general de la marca de tiempo (del 2 de febrero...) , los gráficos no están sincronizados!!
¿Me puedes ayudar?
Solved! Go to Solution.
@Patrick_Pontor , prueba como
min = var _1= CALCULATE(MIN(rawdevicestate_follow[timestamp]),REMOVEFILTERS((rawdevicestate_follow[parameter_name]))) +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))
max= var _1= CALCULATE(Max(rawdevicestate_follow[timestamp]),REMOVEFILTERS((rawdevicestate_follow[parameter_name]))) +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))
¡¡¡Gracias!!! ¡¡Está bien!!
@Patrick_Pontor , prueba como
min = var _1= CALCULATE(MIN(rawdevicestate_follow[timestamp]),REMOVEFILTERS((rawdevicestate_follow[parameter_name]))) +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))
max= var _1= CALCULATE(Max(rawdevicestate_follow[timestamp]),REMOVEFILTERS((rawdevicestate_follow[parameter_name]))) +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))
¡¡Gracias!!
Pero no entiendo lo que quieres decir con"'Calendario'"), 'Calendario'[Fecha]"
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!
At the monthly call, connect with other leaders and find out how community makes your experience even better.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |