Forum Discussion
Not all date fields are showing up in Timeline slicer option
I have two fields (reqd date and promisedshipdate in table. Both are formatted as date. When a do a Pivot table of this table and try to create a timeline slicer the promisedship date does not show 😐
You may format cells as dates but actually have texts within it. You may check by ISTEXT() if so or not.
8 Replies
- SergeiBaklanDiamond Contributor
You may format cells as dates but actually have texts within it. You may check by ISTEXT() if so or not.
- IWT_GGCopper Contributor
SergeiBaklan thank you Sergei - yes there were some text in the data fields. These came from trying to insert a default date when a vlookup did not find suitable result in the lookup table.
=IFNA(VLOOKUP([@[uniq_line_item]],saved_promise_date_hard[#All],2,FALSE),"1/1/1900")
the thing is if the item being looked exists in the look up table but there is no data ie blank then it returns the value as a date
but if the value looked up does not exist in the look up table then default value returned is text formatted of the default
My question would be how could write this better that the default value entered is a date and not text. I have also posted this as a separate question since I marked your response to my initial question as best response. Please provide your feedback there if possible
- AAbdouCopper Contributor
Hi IWT_GG
Hi @IWT_GG,
It should usually show both dates. have you tried refreshing all connections on your pivot table by going to data--->Refresh All?
Have you tried closing the workbook and re-opening it?
Abdelrahman Abdou,
Certified Microsoft Excel Expert, Consultant.
Founder, Owner @ ExcelBonanza.com
http://www.excelbonanza.com/ |
https://www.linkedin.com/in/abdelrahman-abdou-60240150 | https://www.youtube.com/channel/UC2-D2unZHustY_f6V7cj03Q | https://www.facebook.com/ExcelBonanza/
- IWT_GGCopper Contributor
Dear Abdelrahman thank you for responding to my post / query.
I tried refreshing all data connections, as well closing and reopening the workbook. Unfortunately it did not work.
The reason was because some date were in Text format. So even thought the fields / column was formatted but due to a few bad formatted data it was not pulling.
I have given details of this in another post. If you could help me on addressing the root cause that would be greatly appreciated as well.
Thank you very much for your valuable insights and time.
- AAbdouCopper Contributor
Hi IWT_GG
can you provide the link to the other post?
also, as SergeiBaklan mentioned, the issue is that the fields are not numbers formatted as dates, so you need to make sure they are numbers formatted as dates and not text. You could do that using the DATEVALUE function for example.
Abdelrahman Abdou,
Certified Microsoft Excel Expert, Consultant.
Founder, Owner @ ExcelBonanza.com
http://www.excelbonanza.com/ |
https://www.linkedin.com/in/abdelrahman-abdou-60240150 | https://www.youtube.com/channel/UC2-D2unZHustY_f6V7cj03Q | https://www.facebook.com/ExcelBonanza/