Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Anonymous
Not applicable

Gráfico Acumulado líneas

Hola,  tengo un problema  con la siguiente  metrica acumulada  para  realizar  mis graficos de  lineas.

 

SUMMARY_BACKLOG_ACUMULADO = 
SI(
    ISBLANK (valores ('oneerp vst_inf_neworders_report' [Mes])) 
    , BLANCO ()
    , CALCULAR (
	            SUM ('oneerp vst_inf_neworders_report' [Backlog])
                , TODOS ('oneerp tbl_periodos' [de_periodo])
                , FILTRAR (
		                CALCULABLE (
		                            	SUMMARIZE ('Mes', 'Mes' [índice], 'Mes' [Mes_EN]),
			                            ALLSELECTED ('Mes')
		                             ),
		                ISONORAFTER (
			                            'Mes' [índice], MAX ('Mes' [índice]), DESC,
			                            'Mes' [Mes_EN], MAX ('Mes' [Mes_EN]), DESC
		                            )
	                    )
                )
    )

 

Quisiera   que   apareciese el evolutivo completo hasta la maxima  fecha disponible, pero sin embargo si  hay un mes intermedio en blanco que  apareciese el valor del acumulado. Gracias.

 

ActualActualObjetivoObjetivo

 



1 ACCEPTED SOLUTION
v-alq-msft
Community Support
Community Support

Hola, @Pcarrasg

Según su descripción, creé datos para reproducir su escenario. El archivo pbix se adjunta al final.

Mesa:

e1.png

Puede crear una medida como se indica a continuación.

Result = 
IF(
    ISBLANK(SUM('Table'[Value])),
    CALCULATE(
        SUM('Table'[Value]),
        FILTER(
            ALL('Table'),
            [YearMonth Value]<=MAX('Table'[YearMonth Value])
        )
    )+0,
    SUM('Table'[Value])
)

Resultado:

e2.png

Saludos

Allan

Si este post ayuda, entonces considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente

View solution in original post

1 REPLY 1
v-alq-msft
Community Support
Community Support

Hola, @Pcarrasg

Según su descripción, creé datos para reproducir su escenario. El archivo pbix se adjunta al final.

Mesa:

e1.png

Puede crear una medida como se indica a continuación.

Result = 
IF(
    ISBLANK(SUM('Table'[Value])),
    CALCULATE(
        SUM('Table'[Value]),
        FILTER(
            ALL('Table'),
            [YearMonth Value]<=MAX('Table'[YearMonth Value])
        )
    )+0,
    SUM('Table'[Value])
)

Resultado:

e2.png

Saludos

Allan

Si este post ayuda, entonces considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.