Forum Discussion
Two bar charts sharing one scroll bar
I need to show two bar charts with the same categorical axis. I have tried to get both charts in the same visualization, but I havent managed, so now I have two visualizations one next to the other as shown in the screenshot.
The problem that I have now is that the number of categories is very large, so there are scroll bars for both plots. I would like that when I scroll in one of the plots, the other one changes automatically. Alternatively, I would also be happy if I could get both charts in the same visualization, as I was trying to do in the first place. In that case, both plots would share a single scroll bar and that would be even better.
Two bar charts with two independent scroll bars
Hi Anonymous ,
We can make the both visuals sorted by the category in your scenario.
5 Replies
- AnonymousNot applicable
thx
- v-frfei-msftCommunity Support
- v-frfei-msftCommunity Support
Hi Anonymous ,
We can create a bridge table to work on it.
Bridge = DISTINCT(UNION(VALUES(avail[index]),VALUES(duration[index])))
After that, we can use the index column in the bridge table as X-axis to work on it.
- AnonymousNot applicable
Thanks v-frfei-msft. Both "availability" and "duration" belong to the same table in my example. Does it make sense to build this Bridge in that case?