What I’m trying to achive is to visualize the Mileage per ID as percentage of the total Mileage (sum of Mileage). I’d like to visualize it in a horizontal bar chart.
But I don’t really have a clue how to get this working.
Select the Horizontal bar chart icon from the Visual types pane
Drag the ID field to the Y-axis field well
Drag your newly created percentage calculation to the Value field well
This will display each ID as a row with a horizontal bar representing its percentage of the total mileage.
The chart will automatically handle NULL values in your dataset by excluding them from the calculation.
If you want to show IDs with NULL values as zero bars in your chart, you could create a calculated field that replaces NULL values with 0 before calculating the percentage.
Hi @Markus,
It’s been awhile since we last heard from you on this thread, did you have any additional questions or were you able to find a work around?
If we do not hear back within the next 3 business days, I’ll close out this topic.