cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate I
Advocate I

Analyze in Excel - Date field issue

When using 'Analyze in Excel' Date fields from my model show up in excel as text which really limits the usage of the Analyze in Excel functionality. Has anyone else encountered this and come up with a solution. 

14 REPLIES 14
Highlighted
Microsoft
Microsoft

Re: Analyze in Excel - Date field issue

Hi @erhodes

Based on my test,  PowerPivot changes the format of date columns to General when I use “Analyze in Excel” feature. From my point of view, the issue is related to PowerPivot, I find a connect item and several threads stating the issue that PowerPivot treats date columns as text, I would recommend you post the question in the Power Pivot forum to get dedicated support.

And you can also check the following similar threads.

https://social.msdn.microsoft.com/Forums/sqlserver/en-US/c0253620-6ae0-46ea-8b6e-124e6c950239/powerp...
http://stackoverflow.com/questions/27913051/powerpivot-incorrectly-convert-date-value-to-text-in-piv...

 

Thanks,
Lydia Zhang

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Frequent Visitor

Re: Analyze in Excel - Date field issue

I'm facing the same issue. I'm looking into PowerBI for the company I work for, largely because of the "Analyze in Excel" feature. I agree that not having dates working properly severely limits this feature's usefulness.

 

The obvious workaround is to create separate day/month/year fields in the dataset, but this is not ideal as it leads to confusion for end-users and broken reports down the road once they fix this issue (and remove said fields), etc.

Highlighted
Helper I
Helper I

Re: Analyze in Excel - Date field issue

Has this issue ever been resolved?  I am connecting to the PowerBi service (OLAP) and I am having the same issue with dates showing up as text in pivot tables.  

Highlighted
Frequent Visitor

Re: Analyze in Excel - Date field issue

Same issue here. I would like to use a Date field with Excel's Pivot Table Timeline feature, but when I attempt to create a Timeline, the following message appears: "We can't create a Timeline for this report because it doesn't have a field formatted as Date."

 

The field is formatted as a Date in Power BI, but using the Analyze in Excel feature disregards this formatting.

 

Date Issue Power BI.JPG

Highlighted
Helper V
Helper V

Re: Analyze in Excel - Date field issue

Facing the same issue. Is there a fix or workaround for this?

Highlighted
Advocate II
Advocate II

Re: Analyze in Excel - Date field issue

Following.  This is a major issue with Analyze in Excel.   Can't filter the date range because it's a text string.

Highlighted
Regular Visitor

Re: Analyze in Excel - Date field issue

I am facing the same issue

Highlighted
New Member

Re: Analyze in Excel - Date field issue

Not to necropost, but I am currently running into this issue and have so far been unable to find a solution. A Power BI field that is typed in Power BI as a Date and formatted to show up on reports as "Tuesday, December 10, 2019" pulls into my PivotTable (from Analyze in Excel) as a String instead of a Date.

 

Is there any way to get Excel to treat the PivotTable date field as an actual Date?

 

 

ExcelABC
1Fiscal DaySome Measure`="Fiscal Day"+1
2Monday, May 15, 20173#VALUE!

 

Here's an example of what I'm talking about. If "Fiscal Day" were an actual date, Fiscal Day + 1 would be Tuesday, May 16, 2017 (or however you choose to format your dates) but because it's a string, you get an error.

 

This also makes things like =SUMIFS(Some Measure, Fiscal Day, ">"&DATE(2017,1,1)) not work.

 

Any help appreciated, although I would prefer to not make a column D in the above example that essentially has:

 

=DATEVALUE(
   MID(
      $A2,
      FIND(" ",$A2),
      99
   )
)

 

 

Highlighted
Frequent Visitor

Re: Analyze in Excel - Date field issue

It is 2020 and still no solution for this?

 

A pivot-table with only string values makes the whole "analyze in excel" function pretty obsolet.

 

I need to be able to sort, filter and sumif sales relative to the date column and a storenumber column. As there will be up to 300.000 rows there is no other option in sight.

 

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Community Summit Australia – Join Online!

Community Summit Australia – Join Online!

Be a part of the leading Microsoft Business Applications digital event, curated for the APAC community.

Top Kudoed Authors