Not certain I understand the charts you have in your viz - are the dual axis or on a common dashboard
Seeing your TWBX workbook would help out
These are the two charts:
Theyre both on the same dashboard along with a spine chart. I have made it so that if you click the male or female line on the line chart the male or female charts on spine chart are highlighted. I want to do the same with my bar chart but for some reason can't seem to make it work.
Your line chart is unable to highlight your bar chart because you have different fields in each for gender. In your line chart (worldwide m/f) you have share of females % and share of males %. In your bar chart (diff dis) you have Females and Males. Tableau doesn't know that one should highlight the other and Tableau doesn't seem to allow for setting a relationship between the two datasources for those fields either.
I'm thinking there may be a better way to bring your data in to allow for this highlight action. Is there a reason that you have your datasources split like they are? Would you be able to combine them into a single datasource in Tableau? See this link here:
Thank you so much, this helped me fix my issue as I changed the column titles and this sorted the issue out!