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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Chafi31
New Member

Extraction from a HFSQL database Respond

hello,

I want to extract from a HFSQL database and I encounter a problem with decimals if the value exceeds 4 decimal places

OLEDB connection

Example 1:

HFSQL value: 113.865546 / Value on Power QUERY: 11386.55

Example 2:

HFSQL value: 135.50 / Value on Power QUERY: 135.50

Same result with change to text type.

Thanks in advance.
3 REPLIES 3
saidramdani
New Member

I want to extract from a HFSQL database with power bi

rubayatyasmin
Community Champion
Community Champion

Hi, @Chafi31 

 

That's a bit odd, isn't it? how about you use Number.round PQ func. I know it's not a good solution but it should do the work. 

 

refer:

 

Number.Round - PowerQuery M | Microsoft Learn

 

rubayatyasmin_0-1689517080227.png


Did I answer your question? Mark my post as a solution!super-user-logo

Proud to be a Super User!


Hi,

The same result with number.round because the change is made on the value already received.

I think the maximum of power query is 4 decimal with OLE DB connexion.

Best regards.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.