cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
FredKLS
New Member

I don't want Power Query to have defined column and header types.

Hello, I am trying to use the datamart to create a dataset.


I don't want Power Query to have defined column and header types. But, I have tried several times to check the option for it not to define the types, but the option still unchecks by default. The datamart systematically defines the types of columns :(.


Do you have a solution to this problem?


Thank you in advance for your help.

 

 

1 ACCEPTED SOLUTION

Thank you very much for this example.


My problem was that I am using dynamic columns coming from Excel files. Using the Datamart, Power Query always put a type on the columns for me, even if I removed it like in your example. And my import was not working.
Finally I force the type of all the columns with a custom function in text format and it works 🙂 .


Thanks again for your help and quick response.

 

For those interested, here is the function: https://xlbusinesstools.com/fonction-powerquery-convertir-toutes-colonnes-texte/

View solution in original post

2 REPLIES 2
v-yalanwu-msft
Community Support
Community Support

Hi, @FredKLS ;

You can tranform data into the Power Query and then remove the last step of automatic update data type.

vyalanwumsft_0-1670376561369.png

Then select the columns what youu want to change the type.

vyalanwumsft_1-1670376648186.png


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you very much for this example.


My problem was that I am using dynamic columns coming from Excel files. Using the Datamart, Power Query always put a type on the columns for me, even if I removed it like in your example. And my import was not working.
Finally I force the type of all the columns with a custom function in text format and it works 🙂 .


Thanks again for your help and quick response.

 

For those interested, here is the function: https://xlbusinesstools.com/fonction-powerquery-convertir-toutes-colonnes-texte/

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.

Top Solution Authors
Top Kudoed Authors