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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Mamaof2QTz
Regular Visitor

Date acting like text in Excel

I have a field (termination date) that is set to date in power query. It is set to date in desktop.

When the user's use Power BI as a data source in excel, it's behaving like text.  I'm at a loss.

Mamaof2QTz_2-1735841012247.png

 

Mamaof2QTz_1-1735840956767.png

 

3 REPLIES 3
Mamaof2QTz
Regular Visitor

I've also noticed that if I use "export data" to connect, it comes through as a date.  This is only occuring on the OLAP Cube.

Mamaof2QTz
Regular Visitor

I wish it were that simple.  The column is also a date format.
Mamaof2QTz_0-1735920521459.png



Anonymous
Not applicable

Hi @Mamaof2QTz ,

 

Here I create a sample to have a test. [Row Labels] is date type in Power Query Editor.

vrzhoumsft_0-1735869006302.png

Then I get pivot table in Excel. It is date type as well and the sort works well.

vrzhoumsft_1-1735870398043.png

In your screenshot, the column looks like text type. I think the data type in semantic model may be text type though the data type in power query editor is date. And I can reproduce your issue, the column in excel will be sorted like text.

vrzhoumsft_2-1735870764083.png

vrzhoumsft_3-1735871582602.png

You can change the data type in column tool to date and republish your report. Then it will work.

 

Best Regards,
Rico Zhou

 

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

 

 

 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.