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
efroseroc
Helper I
Helper I

Number vs Int64.type

Hi thanks for reading,

My question is, if I for example have the followig expression in power query:

Table.TransformColumnTypes(#"Filtered columns",{{"Income", Int64.Type},....

Is it better than this?

Table.TransformColumnTypes(#"Filtered columns",{{"Income", type number},....

 Or whats the difference between the two?

Because Int64 is the data type power bi automatically detected and I'm confused 

 

Thanks again,

Best regards,

E.

1 ACCEPTED SOLUTION
Jimmy801
Community Champion
Community Champion

Hello @efroseroc 

 

to complete @mahoneypat  answer, type number are all number (1, 1.2 etc.) whereever Int64 stands for integer meaning whole number (3,5,7)

 

If this post helps or solves your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)
Kudoes are nice too

Have fun

Jimmy

View solution in original post

2 REPLIES 2
Jimmy801
Community Champion
Community Champion

Hello @efroseroc 

 

to complete @mahoneypat  answer, type number are all number (1, 1.2 etc.) whereever Int64 stands for integer meaning whole number (3,5,7)

 

If this post helps or solves your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)
Kudoes are nice too

Have fun

Jimmy

mahoneypat
Employee
Employee

If you have decimal numbers, you will need number.  I did a quick test on a column with many rows and the file size didn't change when i used the two types.

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


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