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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Super User
Super User

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.