Forum Discussion
Power Query Data types not being the same in Power BI
I have a dataset having 400+ Columns.
These are either of Int64/% Datatype. However i converted them to text first for the purpose of data cleaning/replacements.
I prepare 2 lists of column names for each and change the datatype for them in M Query.
However once I load the data in PowerBI , many of the columns belong to Text datatype.
Basically the datatypes set in Power Query are not staying the same in Power BI.
Any idea how to fix this issue ? Or is it a bug ?
- Anonymous2 years ago
Hi ckulkarni97 ,
In desktop, percentage is a format rather than a data type, please try converting it to Decimal number.Then format it as % in the desktop.
Data types in Power BI DesktopBest Regards,
Gao
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
2 Replies
- AnonymousNot applicable
Hi ckulkarni97 ,
In desktop, percentage is a format rather than a data type, please try converting it to Decimal number.Then format it as % in the desktop.
Data types in Power BI DesktopBest Regards,
Gao
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
- lbendlinSuper User
Please show your Power Query code.