Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
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.
@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.
@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.
@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_Zhang i did but while creating the custom column, i did not understand which column to insert and why i need to do it.
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.
@nairisha
My approach is as below.
In "Add Custom Column", new a column named "newColumn" and formula equals ="traffic".
@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.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.