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

Doesn't work for dimensions #12

Open
noaonoszko opened this issue Oct 13, 2021 · 1 comment
Open

Doesn't work for dimensions #12

noaonoszko opened this issue Oct 13, 2021 · 1 comment

Comments

@noaonoszko
Copy link

The histogram feature does not seem to work for dimensions and non-aggregated measures. When I try, I receive a custom visualization error. It would be pretty useful if it worked for dimensions as that's the most common use case by far.

@edsil
Copy link

edsil commented Jan 23, 2023

It may not cover all basis, but if you create a "Calculated Field" and in the formula use your desired Dimension AND a measurement, the new field will also be taken as a measurement.
For example, let's say you have a Dimension called "open_days" and a measurement (or aggregated) field "count_of_customers", then create a new Table Calculation and in the formula, have something like:

${open_days} + ${count_of_customers}*0

The "*0" will make it have no effect on the number of open days, so you end with "open_days" as a measurement and the histogram now sees it.

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

2 participants