How can I display 2 Dimensions on X axis (bar chart)

Hi, I am trying to create a graph with dimensions: date & name in the X axis, with some measures that are stacked.

I’d expect the visualisation to group multiple names that belong to the same date & display the date only once. But that doesn’t happen & as a result part of my x labels is trimmed if the label is too long.

what I get:

52f1380d-d12b-4b70-aa42-810efaaf33ea.png

what I’d like to have:

c26c4808-31cc-4aa4-b75b-c0cd9618f364.png

Is there any way to do that in one graph? I don’t want to have the names as pivot cause then I will have multiple graphs.

1 4 3,478
4 REPLIES 4

Vimal1
New Member

Hi Idan, 

This is possible with changing some custom settings in the visualization. go to visualization settings and give a custom X axis name.

737d1411-3d73-478e-9e0e-41de4b17bf93.png
under X axis tab, enter the custom axis name, in your case “ the date”

then you have to hide the date from the visualization. 

5a3d2ad3-1412-4b9e-a954-545790ab2be1.png

Then you’ll get you expected result. I hope this helps. 

c88123a6-8fe0-4616-8349-ae52a6bc9f01.png
once you click hide from visualization, the date doesn’t show up in our bar chart

@Vimal1 thanks for the detailed answer.

Unfortunately, this is not what I was looking for.

I am looking for a solution that would work programatically on multiple dates, and with changing data, so I can’t name the entire x axis with one specific date.

Thanks.

I'm looking for something like this as well. Did you find any solution?

I had the same issue and using Pivot in the data section automatically helped.
In the data section pivot the column by which you want to group the visualization.

nehagilsonpc_0-1698623346895.png

nehagilsonpc_1-1698623383271.png

 

 

Top Labels in this Space
Top Solution Authors