I have a Parameters data source which has copied parameters. Some of them have been copied more than once. In that case, Tableau appends '(copy 2)' or '(copy #)' depending on how many times it's been copied. The if internal_name.find condition should account for that possibility. Thank you!
Starting at line 43:
# Parameters are all given internal name [Parameter #], unless they are copies where they
# end with (copy) h/t Jeff James for discovering
if internal_name.find(u'(copy)') == -1:
I have a Parameters data source which has copied parameters. Some of them have been copied more than once. In that case, Tableau appends '(copy 2)' or '(copy #)' depending on how many times it's been copied. The if internal_name.find condition should account for that possibility. Thank you!
Starting at line 43: