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
Syndicate_Admin
Administrator
Administrator

Totales acumulados - Actual y último FY

Hola

Quiero calcular las inscripciones acumuladas para el año fiscal actual y el último año fiscal. FY comienza el 1 de julio y termina el 30 de junio.

KoalaPBI_1-1660019571913.png

Creé una medida para calcular el total acumulado para el año fiscal actual, pero es incorrecta. debería ser 15 en agosto en lugar de 14. Por favor, hágame saber qué está mal con esta medida y proporcione una medida para calcular las inscripciones acumuladas para el último año fiscal (FY22)

Aquí está el archivo pbi : https://1drv.ms/u/s!Ag919_pO_UKrghrxssJ1dthLEMvu?e=q2183a

muchas gracias!

3 REPLIES 3
Syndicate_Admin
Administrator
Administrator

Hola

No estoy seguro de si entendí su pregunta correctamente, pero creo que ID = 111 está tanto en julio como en agosto (duplicado).

Entonces, creo que si la medida distinctcount identifica, es el número correcto.

Sin embargo, si aún desea mostrar 15, incluso ID = 11 se muestra en los dos meses, pruebe la siguiente medida.

Signups Current FY_Cum =
VAR _newtable =
    ADDCOLUMNS (
        SUMMARIZE (
            FILTER (
                ALL ( Datedim ),
                Datedim[Date] <= MAX ( Datedim[Date] )
                    && Datedim[Is Current FY] = 1
            ),
            Datedim[FYYear],
            Datedim[FY_Monthname],
            Datedim[FYMonthNum]
        ),
        "@singup", CALCULATE ( DISTINCTCOUNT ( 'Table'[Id] ) )
    )
RETURN
    SUMX ( _newtable, [@singup] )

gracias @Jihwan_Kim , ¿Podría por favor también hacerme saber cómo puedo calcular el acumulado para el último año fiscal? No puedo usar el filtro Datedim[Is Current FY] <>1 ya que en mi conjunto de datos también hay datos del FY21?

Hola

Gracias por su mensaje.

¿Podría verificar el archivo pbix adjunto, si muestra los números correctos?

Gracias.

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.