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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Anonymous
Not applicable

Column Type Mismatch Between Desktop and Query Editor

I used the power query editor to change a list of dates from the auto generated text column type to the corrected short date format, but for some reason it does not update on the main Power Bi Desktop page. (I have clicekd the close and apply button once I'm done in the power query editor)

I have done this same process for other columns and never had an issue until now.

 

adammatern_1-1598394797949.png

 

adammatern_2-1598394816921.png

 

 

1 ACCEPTED SOLUTION

Do you have a date table in the model (and is there a relationship to 'Response Delivered')?

View solution in original post

8 REPLIES 8
v-alq-msft
Community Support
Community Support

Hi, @Anonymous 

 

Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.

Table:

b1.png

 

You may use Date.FromText to convert the data type from text to date and give the column a 'Date' data type. You can add a new step as below.

Table.TransformColumns(#"Changed Type",{"Date",each Date.FromText(_),type date})

 

Result:

b2.png

b3.png

 

Best Regards

Allan

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Anonymous
Not applicable

The formula you sent gives me an error (and I did adapt it for my column names when I tried it), but the data is already listed as a date format on the editor. The main screen where I am building the dashbaord still will not show the "response delivered" data as a date though even though I've done this for 2 of the other columns here and they worked perfect like normal.

 

Any help is greatly appreciated! 

 

adammatern_0-1598626895769.png

adammatern_2-1598627461545.png

 

 

Do you have a date table in the model (and is there a relationship to 'Response Delivered')?

Anonymous
Not applicable

Yes this fixed the issue, thank you so much @HotChilli !!

Anonymous
Not applicable

I think that's what's causing the issue! This is part of two appended tables and Bi chose the "response delivered" column as the key

 

adammatern_0-1598631929576.png

 

Anonymous
Not applicable

HI @Anonymous 

Change the dataype on the PBI desktop instead of power query editor.

 

pranit828_0-1598405242966.png

 

Anonymous
Not applicable

Unfortunatly the date was already selected for the data type/format, but it still does not show as a date with the hierarchy on the main page

 

adammatern_0-1598448317664.png

adammatern_1-1598448337301.png

 

mahoneypat
Microsoft Employee
Microsoft Employee

The query editor just changes the data type.  After data load, in Data View, click on the column and the Format tab to change it to your desired format.

 

If this works for you, please mark it as the solution.  Kudos are appreciated too.  Please let me know if not.

Regards,

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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