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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
nicktayl
Helper I
Helper I

An argument of function 'ROUND' has the wrong data type or the result is too large or too small.

I'm not understanding why this error is coming up since none of the input values are numbers and the values are not too small. 

 

Capture.PNG

LTV Calc = If(tbl_kpi[LTV Calc Flag]="Exclude",0,
round((tbl_kpi[Combined Loan Amount]-tbl_kpi[Construction Holdback - Risk Basis]-tbl_kpi[Interest Reserve]-tbl_kpi[X-Collateral _Construction Holdback])/
tbl_kpi[LTV As-Is],3))

An argument of function 'ROUND' has the wrong data type or the result is too large or too small.

 

 

It works fine without the "ROUND" function:

 

Capture.PNG

Capture.PNG

 

4 REPLIES 4
MyroslavaM
Advocate II
Advocate II

I had the same error due to infinity. when you cannot divide by 0. added DIVIDE and that worked.

Anonymous
Not applicable

Hi,

 

Try to make it like this ROUND(IFERROR(...,0))

Anonymous
Not applicable

I had the same problem which appeard out of nowhere. Yesterday it worked and today it doesn't.

 

Here is the solution...

 

In Qeury editor:


1. replace "null" (without quotation marks of course) values with 0

 

2. change the column type to "Whole number". I had "Decimal number" and somehow it did not work.

dearwatson
Continued Contributor
Continued Contributor

Hmm.. wierd... any nulls in the columns? Are all the columns number or decimal type?

 

also try using DIVIDE so instead of the (Column1-Column2)/(Column3) try ROUND(DIVIDE((Column1-Column2),Column3,0),3)

 

If thats not it I have no idea.

 

Greg

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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