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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors