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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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
Microsoft Employee
Microsoft 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

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

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

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