I'm trying to count repetitions in 2 different columns since they have elements in common, not having success. In Python pandas I use
origin = tour["Origin"].value_counts()
destination = tour["Destination"].value_counts()
pop_cities = origin + destination
pop_cities_bar = pop_cities.sort_values(ascending=[False]).head(5)
print('Top 5 most popular cities')
Sorry, I don't know Python. Can you create a simple table as an example and show the two results you are hoping to get? That might also help to interpret what you're doing in Python
Become a Viz Whiz on the Forums!
Support the Community and master Tableau.
Retrieving data ...