Forum Discussion
Link Dates from two tables
nairisha Consider using Combo chart so Line and Clustered Column Chart to achieve what you're after. I am not aware of any visual which will give you multiple x-axis. Also consider using Tornado custom visual which may come closer to what you want to achieve.
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.
- ankitpatira10 years agoCommunity Champion
nairisha In powerbi desktop, go to query editor (Edit Queries), on Home ribbon, under Combine tab, click Merge Queries.Select date column from both the tables and appropriate join type. Result will give you combine date with values from both tables that you can plot on x and y axis.
- Eric_Zhang10 years agoMicrosoft Employee
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
- nairisha10 years agoAdvocate I
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