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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Syndicate_Admin
Administrator
Administrator

Error XIRR con diferentes métodos

Hola a todos

He utilizado los siguientes dos métodos para calcular la XIRR. Ambos están dando los valores correctos como en el excel. Pero cuando se trata de calcular XIRR, se produce un error. En Excel, muestra una TIR de alrededor del 2,2%. Después de luchar durante muchas horas, estoy buscando ayuda. Por favor, alguien ayude en esta consulta. Cualquiera de los siguientes métodos funciona para el cálculo de la TIR a continuación, eso sería suficiente.

Total_Value 1er método =

donde Running_ =

CALCULATE(SUM(Fund[Daily NAV]),FILTER(ALL(Fund[Date]),Fund[Date]<=MAX(Fund[Date]))) -- Total acumulado para el NAV diario

Var _max=maxx(filter(allselected(Fund), Fund[Fund] = max(Fund[Fund])&&Fund[User]=MAX(Fund[User]) ), Fund[Date])

devolución

-Switch ( true(),Max(Fund[Date]) = _max ,Running_,Max(Fund[Date]) < _max ,0.1) -- bloqueo del NAV final del total acumulado basado en la fecha máxima

+SUMA(Fondo[Llamada])-SUMA(Fondo[Distribución])

IRR_1st método = XIRR(Fondo,Fondo[Total_Value 1er método],Fondo[Fecha],,0.0001)

Nagesh20_0-1716030416116.png

2º método

Total_Value 2º método =

donde Running_ =

CALCULATE(SUM(Fund[Daily NAV]),FILTER(ALL(Fund[Date]),Fund[Date]<=MAX(Fund[Date]))) -- Total acumulado para el NAV diario

Var _max=maxx(filter(allselected(fund), Fund[Fund]= max(Fund[Fund])&&Fund[User]=MAX(Fund[User]) ), Fund[Date])

devolución

-Switch ( true(),Max(Fund[Date]) = _max ,Running_, Max(Fund[Date]) < _max ,0.1,blank()) -- bloqueo del NAV final del total acumulado basado en la fecha máxima

+SUMA(Fondo[Llamada])-SUMA(Fondo[Distribución])

IRR_2nd método = XIRR(Fondo,Fondo[Total_Value 2º método],Fondo[Fecha],,0.0001)

Nagesh20_1-1716030416118.png

FechaUsuarioFondoLlamarDistribuciónValor liquidativo diario
4/5/2022SegundoFondo15000500
6/5/2022SegundoFondo1025-25
7/5/2022SegundoFondo126036
7/6/2022SegundoFondo1000
8/5/2022SegundoFondo13545-10
9/5/2022SegundoFondo11000100
4/5/2023TerceroFondo1100001000
5/5/2023TerceroFondo145045
5/5/2023SegundoFondo125025
6/5/2023TerceroFondo1025-25
7/5/2023TerceroFondo126036
8/5/2023TerceroFondo13545-10
9/5/2023TerceroFondo11000100
9/5/2023SegundoFondo10026
3/5/2024PrimeroFondo11000100
4/5/2024PrimeroFondo150050
5/5/2024PrimeroFondo125026
6/5/2024PrimeroFondo15000502
7/5/2024PrimeroFondo10100-100
9/5/2024PrimeroFondo175075
9/5/2024SegundoFondo1000
10/5/2024PrimeroFondo10250-250
10/5/2024TerceroFondo10026

1 REPLY 1
Syndicate_Admin
Administrator
Administrator

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

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.