Forum Discussion
Link Dates from two tables
nairisha wrote:
ankitpatira I don't want multiple x-axis. What I want to achieve is, suppose I have two tables
What I would like to achieve is a X-axis of may be date and Y-axis having both value 1 and value 2 on a clustered column chart.
For this kind of source, you may follow below steps.
- In the query editor, add a custom column for each source (col="traffic",col="transaction")
- In the query editor, append queries to append those two tables.
- In the report page, use the date as X-Axis, custom column as Legend and the value as Values, then you would get something like
Eric_Zhang your chart resembles to the one i am looking for however, im not clear about the steps. can you ellaborate more?
Thanks,
Nairisha
- Eric_Zhang10 years agoMicrosoft Employee
- nairisha10 years agoAdvocate I
Eric_Zhang i did but while creating the custom column, i did not understand which column to insert and why i need to do it.
- Eric_Zhang10 years agoMicrosoft Employee
Add custom column valuing "tracffic "to traffic table and "transaction" to transaction. In latter steps those two table would merge into one and the newly added column is used as a legend in the visual.