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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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