I am trying to plot a very basic line chart using charting tool. I have an output from a cross-tab tool. I need to plot first column on X-axis and all remaining column on Y-axis. Problem is that number of columns and column titles are not fixed. They can keep changing. The chart tool fails to generate desired graph - it ignore new column and columns for which header/title are new. Can someone help? I am looking to solve this issue specifically in version 11.7.4.
Solved! Go to Solution.
Hi @Dhaval
I can't think of a very elegant solution to this, but here's a suggestion:
As I said, it's not very elegant, but that's the only approach I can think of. You might be able to do something using a macro and overlaying the PNGs outside of Alteryx but I'm not sure about that.
Tricky question!
Thanks a lot for the quick and creative reply. It did work.
I imported original data with 'first row contains data' setting. So, after import, my first data row was actually the header. I then used sampling tool to divide it into two parts; first sampling tool pulls first row (which are actually the headers) and second sampling tool pulls remaining rows. I create table from the output of first sampling tool and use it as legend. I use line chart to plot output of second sampling tool. At last, as you suggested, I used layout tool to place them side-by-side.
In my case, maximum fields I expect is only 5. So, I was able to implement it without much trouble.
User | Count |
---|---|
19 | |
14 | |
13 | |
9 | |
8 |