Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Tableau Output error - date field causes output to hang

leehinchcliffe
5 - Atom

Hi everyone - I've recently come across an issue when attempting to update an existing tableau datasource when adding a new date field. I'm not sure if it's a known problem, but it's the first time I've encountered it. I'm using Designer 2024.1.1.209 Patch: 7 with Tableau Tools v1.5.2.

Adding a new date field from a salesforce input to my workflow (which, given that it is new to the salesforce object is almost entirely populated with NULL) causes my tableau output to fail - it just hangs forever and fails to complete. There's approx. 3.1m records in the data - so it's not a huge dataset but it's big enough.

De-selecting the field from the output resolves the problem. Overwriting the NULL date values with a dummy date also resolves the issue. Outputting the date field as a string resolves the problem - but that's not what I need. I need a fix, and when I add further new date fields I don't want a repeat of the same issue (I have more new date fields to add to the workflow).

I've tried lots of resolutions:

  1. deleting and re-adding a new tableau output tool
  2. copying the entire workflow to a new file
  3. clearing all caches
  4. outputting to a local hyper has the same issue
  5. adding a dummy record with populated default date values as the first record in the data in case there's some internal type sampling going on
  6. adding 5k dummy records to the start of the data set in case the sampling is proportionately based
  7. forced date field typing
  8. forcing date > string > date type coercion
  9. adding a formula field and creating a secondary date field from within the workflow (i.e. not sourced from Salesforce) presents the same error.
  10. uninstalling/reinstalling the output tools.
  11. creating a new tableau datasource doesn't fix it
  12. switching to datetime doesn't fix it.

I'm now kinda stuck and mostly out of ideas except using string outputs. I'd appreciate any other suggestions that I've not yet tried or just confirmation that I'm not as dumb as a bag of rocks and I've missed something super simple.

Thanks in advance!



4 REPLIES 4
Rhys_Cooper
11 - Bolide

Hi @leehinchcliffe what a strange issue! just tried replicating this on my side and didn't receive the same error. seems like you have tried plenty of things, I would suggest downloading the tableau output tool version 1.5.1 and replacing it with this. As a reminder, right clicking on a tool allows you to change the tool version as shown in the attached screenshot:

 

let me know if you still experience the same issue.

 

change tool version.png

leehinchcliffe
5 - Atom

Thanks Rhys - I'll give that a whirl.

Rhys_Cooper
11 - Bolide

No problemo @leehinchcliffe let me know if works. 

leehinchcliffe
5 - Atom

Hi Rhys - apologies for the long delay for this reply...unfortunately, your proposed solution didn't work - I'm not sure that any "proper" proposal would to be honest. But on carried on testing idea after idea.

I have found a further workaround without being able to understand further what the underlying issue is.

I've discovered that placing the following tools in this sequence - before my tableau output tool - sidesteps the issue (or at least I can output with no errors):
1) use a multi field formula tool to force all date fields to strings and cast them back again to dates YYYY-MM-DD and force the output type to date;
2) immediately follow that multi-field tool with a select tool and ensure that all the date fields are defined as date (10);
3) immediately follow that select tool with a second select tool and ensure that all the date fields are again defined as date (10);
4) finally, output to tableau

It seems there's some internal typing going on that,  I would imagine, when using multiple select tools in sequence forces output types in a way that a single tool doesn't. Otherwise, I'm at a loss as to any rational explanation.

¯\_(ツ)_/¯

Many thanks for your input!

Labels
Top Solution Authors