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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
SwiatLudzieTy
Helper I
Helper I

IRR formula in DAX working the same way as Excel one

Hello Friends!

 

I have a business need to calculate IRR in Power BI, the same way as Excel IRR formula does. It means it should assume equal-size payment periods. I know we have XIRR, but it does in fact consider the exact number days.

 

How do I achive classic IRR Excel formula in Power BI?

 

Thanks! Kamil

2 REPLIES 2
johnt75
Super User
Super User

You could generate dummy dates which are the correct number of days apart and use that as the dates argument to XIRR, something like

SELECTCOLUMNS(
	ADDCOLUMNS(
		GENERATESERIES( 0, 100, 30),
		"Date", [Value] + TODAY()
	),
	"Date", [Date]
)

which returns a date every 30 days for 100 days.

Thanks @johnt75, it defenietly seems as a correct solution. Unofrtunetly I can't validate if it's the expected result now, but I will mark your reply as Solution as sonn as I can!

 

Kamil

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors