Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
cmenendez
Regular Visitor

How can I show 2 axis on a column chart

Hi,

I have to make a graph of a common value (number of contracts), and I would like to see the number of contracts per creation date, that's easy, but I would like to show in the same graph the number of contracts when the maintenance expired:

 

Image 24.png

So at the end my value is the same but the axis would change. Right now I can solve the problem making 2 graphs and just placing one on top of the other...

Is there a way to add both values into the same graph?

 

Thanks

1 ACCEPTED SOLUTION

I'd need some sample data to be certain how to help, but if you had a Calendar table of just dates, then you could use this to calculate how many starting and ending contracts you have by using either a couple of measures or calculated columns.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

4 REPLIES 4
Greg_Deckler
Community Champion
Community Champion

I think what you may want to do is to have a single Axis but two different values for each date, the number of contracts created and the number of contracts ending. 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

I guess then that I would need to create another value to calculate the number of contracts starting and ending based on a time scale...

I'd need some sample data to be certain how to help, but if you had a Calendar table of just dates, then you could use this to calculate how many starting and ending contracts you have by using either a couple of measures or calculated columns.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Great, thanks for the help.

 

I created a table with monthly incremental and I made a calculation for every month of the active customers, and another calculation with the expired customers.

 

Maintenancecustomers = CALCULATE([nrCTS],
Filter(ContractData,ContractData[Contract Start]< Dates[Dates]),FILTER(ContractData,ContractData[Contract End]>Dates[Dates]))

 

With that, I could create the graph which I was looking for.

@Greg_Deckler I will add your comment as the solution

Thanks again!

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.