johnny51981
Active Member
- Joined
- Jun 8, 2015
- Messages
- 409
I use Defined Data Tables in my Power Query Excel files so that I can updated the column headers to different names (they aren't uniform across sources). Like so:
I bring it into Power Query Editor, M Code Magic, wham bam, I have consistent column header names. Wonderful.
My ask: is it possible to declare the Data Types that will be used in the Power Query from this same table? And if so, how would the M Code be written to apply these types in the Changed Type step?
The updated table would look something like this:
I bring it into Power Query Editor, M Code Magic, wham bam, I have consistent column header names. Wonderful.
My ask: is it possible to declare the Data Types that will be used in the Power Query from this same table? And if so, how would the M Code be written to apply these types in the Changed Type step?
The updated table would look something like this: