Hi @Anonymous ,
Thankyou for using Microsoft Q&A platform and thanks for posting your query.
As I understand your ask here, you are trying to perform data migration from .csv file to .parquet format using DataFlow , you want to convert column value '9.179,92' to '9179.92'. Please let me know if my understanding is incorrect.
In your query, are you mentioning about projection tab of dataflow, where there is an option to define default format. I can see we can select 'decimal' as the numerical fraction there. Kindly confirm if this is what you are looking for.
For most dataset types, such as SQL and Parquet, the projection in a source is fixed to reflect the schema defined in a dataset. When your source files aren't strongly typed (for example, flat .csv files rather than Parquet files), you can define the data types for each field in the source transformation.
For more information, kindly check Projection in DataFlow
However, I don't think that's enough to achieve your requirement. You can try following approach to perform the transformation.
- Use dataset pointing to the Numeric data in the dataflow source transformation.
- Use Derived column transformation to remove the comma from the source data.
- Use derived column transformation to multiply the value with 1000 to convert it to desired format.
- Use parquet format dataset in sink transformation
Hope this will help. Please let us know if any further queries.
------------------------------
- Please don't forget to click on
or upvote
button whenever the information provided helps you.
Original posters help the community find answers faster by identifying the correct answer. Here is how
- Want a reminder to come back and check responses? Here is how to subscribe to a notification
- If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators