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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
jaryszek
Post Patron
Post Patron

Floating point and double in power query

Hi Guys,

how to specify floating point, double and big/small floating point in power query? 

Can anybody help?

Jacek

1 ACCEPTED SOLUTION
edhans
Super User
Super User

You cannot. Power Query only supports 4 (really 3) number types:

  1. Integer, or whole number
  2. decimal (15 decimal precision)
  3. Currency (4 decimal precision, and Power BI treats this as an integer and then adjusts for you in the model)
  4. Percentage - same as #2 above. It just looks different in the editor.

Neither Power BI nor Power Query support all of the datatypes you'd find in a true database product like SQL Server.

You can read more about it here, and how to map between SQL Server data types and Power BI Data types. Choosing Numeric Data Types in DAX - SQLBI



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

View solution in original post

2 REPLIES 2
jaryszek
Post Patron
Post Patron

thank you so much. 


What about type "number" type? 

 

Best,
Jacek

edhans
Super User
Super User

You cannot. Power Query only supports 4 (really 3) number types:

  1. Integer, or whole number
  2. decimal (15 decimal precision)
  3. Currency (4 decimal precision, and Power BI treats this as an integer and then adjusts for you in the model)
  4. Percentage - same as #2 above. It just looks different in the editor.

Neither Power BI nor Power Query support all of the datatypes you'd find in a true database product like SQL Server.

You can read more about it here, and how to map between SQL Server data types and Power BI Data types. Choosing Numeric Data Types in DAX - SQLBI



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors