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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Carlizva
New Member

Medida de crecimiento mensual de saldo de cartera

Necesito crear una medida que me permita graficar la diferencia entre dos periodos en una cartara de crédito, sin que el cambio de año importe o si bien se selecciona un mes específico con respecto al anterior.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Carlizva ,

 

Maybe you can try formula like below to create measure:

CrecimientoMensual = 
VAR MesActual = MAX('Table'[Fecha])
VAR MesAnterior = EOMONTH(MesActual, -1)
RETURN
    CALCULATE(
        SUM('Table'[Saldo]),
        'Table'[Fecha] = MesActual
    ) - 
    CALCULATE(
        SUM('Table'[Saldo]),
        'Table'[Fecha] = MesAnterior
    )

vkongfanfmsft_0-1733992787277.png

 

Best Regards,
Adamk Kong

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Carlizva ,

 

Maybe you can try formula like below to create measure:

CrecimientoMensual = 
VAR MesActual = MAX('Table'[Fecha])
VAR MesAnterior = EOMONTH(MesActual, -1)
RETURN
    CALCULATE(
        SUM('Table'[Saldo]),
        'Table'[Fecha] = MesActual
    ) - 
    CALCULATE(
        SUM('Table'[Saldo]),
        'Table'[Fecha] = MesAnterior
    )

vkongfanfmsft_0-1733992787277.png

 

Best Regards,
Adamk Kong

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

lbendlin
Super User
Super User

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information. Do not include anything that is unrelated to the issue or question.
Please show the expected outcome based on the sample data you provided.

Need help uploading data? https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Helpful resources

Announcements
FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.