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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors
Top Kudoed Authors