Forum Discussion
Link Dates from two tables
Hi,
I have two tables in my database, one containing the traffic details in a shop and another containing the transaction. Each table records the datetime when someone entered the shop and purchase something. I can separately create table showing traffic and purchase but i want to compare it in a single x axis with date or time as a common dinominator in a clustered column chart.
I have failed to achieve the desired result. Can you help me with this.
Thanks in advance.
10 Replies
- ankitpatiraCommunity Champion
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.
- nairishaAdvocate I
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.
- ankitpatiraCommunity 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.