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.
¿Cómo puedo hacer para desaparecer con los meses resaltados como se muestra a continuación?
No necesito las fechas futuras (oct a dec 2020).
Mi DAX para la medida utilizada en este eje:
Gracias de antemano.
Marcos
Solved! Go to Solution.
@marcospaula - Use MIN en lugar de MAX
@marcospaula, otra salida es
si (tb_aog'[INICIO].[ Fecha) - Eomonth (hoy()-1, blank(),
¡¡Gran!! Gracias @amitchandak y @Greg_Deckler por su atención en este asunto. Super helpful!!
¡Tengan un gran día!
¡¡Gran!! Me salvó el día!! Fijo
@marcospaula, otra salida es
si (tb_aog'[INICIO].[ Fecha) - Eomonth (hoy()-1, blank(),
Perfecto, pero el sep 2020 desapareció.
@marcospaula - Use MIN en lugar de MAX
@marcospaula , Suponiendo 'tb_aog'[INICIO]. [Fecha] se utiliza en el eje. otra cosa utilizar la fecha en el eje
Tratar
Count of events 6 MO =
if( max('tb_aog'[INICIO].[ Date]) >= today(), blank(),
IF(
ISFILTERED('tb_aog'[INICIO]),
ERROR("Time intelligence quick measures can only be grouped or filtered by the Power BI-provided date hierarchy or primary date column."),
VAR __LAST_DATE = ENDOFMONTH('tb_aog'[INICIO].[ Date])
VAR __DATE_PERIOD =
DATESBETWEEN(
'tb_aog'[INICIO].[ Date],
STARTOFMONTH(DATEADD(__LAST_DATE, -5, MONTH)),
ENDOFMONTH(DATEADD(__LAST_DATE, 0, MONTH))
)
RETURN
IF (
YEAR ( __LAST_DATE ) IN ALLSELECTED ( tb_aog[INICIO].[ Year] ),
AVERAGEX(
CALCULATETABLE(
SUMMARIZE(
VALUES('tb_aog'),
'tb_aog'[INICIO].[ Year],
'tb_aog'[INICIO].[ QuarterNo],
'tb_aog'[INICIO].[ Quarter],
'tb_aog'[INICIO].[ MonthNo],
'tb_aog'[INICIO].[ Month]
),
__DATE_PERIOD
),
CALCULATE([Count of events], ALL('tb_aog'[INICIO].[ Day]))
)
)) )
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 |