Forum Discussion
Integer not Converting to Decimal
Hello,
I have a file, and one of the columns has decimal points. However, Power BI uploaded the column as a whole number. I changed the column in the data tab to reflect a decimal number, but nothing changed. Please see attached.
I solved the issue. I needed to update the data in the advanced editor.
10 Replies
- camargos88Community Champion
Hi Nosh10 ,
Check on Query Editor the steps converting data types, perhaps it's converting there. If yes, just change the type.
- Nosh10Helper II
Hi! Thanks. I changed the data type in the query editor as well, and no luck. Can you provide any work arounds?
- camargos88Community Champion
Hi Nosh10 ,
Can you share the pbix ? If no, take a print of Query Editor, to check the applied steps.
- Nosh10Helper II
- v-yingjlCommunity Support
Hi Nosh10 ,
It seems like you have changed the data type and adjusted the number of decimal places in power bi desktop, it looks like normal.
Did you mean it not work in the filter like the yellow part?
If so, when the initial data is 1,2,3.. , even if you change the data type as decimal number, it will not reflect in power query editor and data view filter. However, you can see the 1.0, 2.0, 3.0 ... in the slicer visual.
data view filter will not reflect the initial 1 as 1.0slicer can do it
Best Regards,
Yingjie LiIf this post helps then please consider Accept it as the solution to help the other members find it more quickly.
- Nosh10Helper II
I solved the issue. I needed to update the data in the advanced editor.
- Syndicate_AdminAdministrator
Hi @Nosh10 ,
It looks like you've changed the data type and adjusted the number of decimal places on the power bi desktop, it looks normal.
Do you mean it doesn't work in the filter like the yellow part?
If so, when the initial data is 1,2,3.. , even if you change the data type as a decimal number, it will not be reflected in the power query editor and the data view filter. However, you can see the 1.0, 2.0, 3.0 ... in the slicer visual.
Data view filter will not reflect the initial 1 as 1.0
cutter can do it
Best looks,
Yingjie LiIf this post helps, please consider Accepting it as the solution to help other members find it more quickly.