Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

World map doesn't allow metrics that I have created. Unhashable type error with other options. #5247

Closed
3 tasks
ghost opened this issue Jun 19, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Jun 19, 2018

Make sure these boxes are checked before submitting your issue - thank you!

  • I have checked the superset logs for python stacktraces and included it here as text if any
  • I have reproduced the issue with at least the latest released version of superset
  • I have checked the issue tracker for the same issue and I haven't found one similar

Superset version

0.25.0

Expected results

I believe I should be able to choose metrics in the drop-down menu titled 'metric for color'.

Actual results

The only option that works is COUNT(*). Any other option results in "unhashable type: 'dict'".
The metrics that I want to use do show up on the drop-down list for "Bubble size" but not "Metric for color". I've compared my world map data set with that of the per-loaded 'wb_health_population" and found no differences. I also analyzed the world map titled "% Rural" and found that if I remove the preset metric for color ("sum__SP_RUR_TOTL_ZS"), I am not able to find it in the options or type it back in. This last piece of evidence suggests to me that this isn't user error in the GUI.

Steps to reproduce

Upload excel sheet as CSV and create a world map using CIOC control. Check the sum option for the metric you want to use. Try to find that option in the list for "Metric for color" of the world map.

I realize this is kind of two errors in one issue, but I believe they are related.

additional note: I can build just fine when choosing COUNT(*) as the metric for color, but that doesn't show what I need it to.

@mistercrunch
Copy link
Member

Fixed here: #5080

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant