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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
alagator28
Helper II
Helper II

Multiple x axes in same visual?

I'm new to Power Bi so please excuse the way I formulate my question as I might not use the correct terms.

 

I have built reporting based on support ticket data which includes fields like CreatedDate, ClosedDate, TicketNumber, etc. I am able to visualize them on graphs and perform calculations. So far so good. However, I've hit a bit of a bump in the road, as I'm trying to accomplish the following in one single visual:

 

  • Number of tickets created (by CreatedDate)
  • Number of tickets closed (by ClosedDate)

When building the visual, if I select the CreatedDate as the x-axis, it is also filtering the closed tickets by that date. If I use the ClosedDate as the x-axis, it is also filtering the created tickets by that date. I would basically like to combine the x-axis into "Month" which will show the tickets created in that month and the tickets closed in that month.

 

What is the best way to accomplish this? I would appreciate an example of a solution so I can work with something as I'm fairly inexperienced and it's tough for me to take something vague and run with it.

 

Thanks in advance!

1 REPLY 1
grantsamborn
Solution Sage
Solution Sage

Hi @alagator28 

If you are using a date table, you can create 2 relationships between your table and the date table.

- Active 1:many relationship between Date[Date] and [Created] from your table.

- Non-active 1:many relationship between Date[Date] and [Closed] from your table.

 

Using USERELATIONSHIP, you can temporarily activate the 2nd relationship to calculate the number of closed.

No. Created = COUNTROWS( 'Tickets' )

No. Closed = 
CALCULATE(
    COUNTROWS( 'Tickets' ),
    USERELATIONSHIP( 'Date'[Date], 'Tickets'[Closed] )
)

pbix: https://drive.google.com/file/d/1IhJZN0tZkh1lOWz3gowZiXno30Y06DPQ/view?usp=share_link

 

Let me know if you have any questions.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Solution Authors