cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rmieszko
Frequent Visitor

Combined chart with two X-axis

Hello,

 

I have a table with tickets reported in our system. Each ticket has columns: ID, Reported Date, Closed Date, Close Reason.

I'd like to draw a chart, where I can see:

  • X-axis: Month number
  • Y-axis: Number of tickets created and closed (but only with one specific Close Reason) in this month

 

 

So basically I'd like to have this two charts combined to one:

  • Reported tickets:

reported.png

  • Ticked closed with specific reason:

closed.png

 

Is it possible in Power BI?

 

Best regards

Rafał

4 REPLIES 4
rmieszko
Frequent Visitor

Any idea, anybody? 🙂

Hi @rmieszko,

The way I have done is,

1. Create a Calendar Table (Date Dimension).

2. Using Calculate table create another table by filtering out only the resolved tickets.

3. Join the Original table with all tickets on Reported Date with the Date Dimension.

4. Join the calculated table with only resolved tickets on Resolved Date with the Date Dimension.

5. You can then create a single chart with both reported tickets count & resolved tickets count.

 

Please let me know if this resolves your issue or if you would like me to explain further.

 

#KeerthanUpadhya.

 

 

v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @rmieszko,

 

Based on your image, the X axis of the two charts is Month Number. We could create a Clustered column chart with Month Number as X axis and Reported tickets andTicked closed with specific reason as values.  The chart will like below.

 

Untitled.png

 

Is this your desired outpu? If not, please share your desired output so that we could help further on it.

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-piga-msft,

 

yes, that's the output I'm looking for. But the thing is Month Number means both Closed Date and Reported Date. So I don't have one column with month number.

Also, as an input I don't have number of tickets reported and closed in each month, but ticket list itself, so I have to do measurments in Power BI. Here's a sample of input data.

IDStateReported DateClosed Date
7129ReasonX05.01.2017 01:17:1213.02.2017 13:07:43
6979Closed05.01.2017 08:42:0118.01.2017 08:30:21
6980Closed05.01.2017 08:56:0118.01.2017 08:30:21
8420ReasonX11.01.2017 00:09:0512.02.2017 08:29:48
8273ReasonX11.01.2017 08:32:0812.02.2017 08:31:03
8970Closed12.01.2017 06:23:4027.01.2017 10:31:02
8973ReasonX12.01.2017 06:51:1317.01.2017 09:50:50
8978Closed12.01.2017 07:03:2526.01.2017 14:41:01
8981Closed12.01.2017 07:33:4203.02.2017 09:31:27
9296Closed13.01.2017 01:19:5809.02.2017 11:36:38
9766Closed16.01.2017 04:56:5503.02.2017 09:34:33

 

For Reported Tickets part I need to use ID, Reported Date,.

For Closed Tickests part I need to use ID, Closed Date, State=ReasonX.

I hope it's clear now and you can help me 🙂

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are You Ready?

Test your skills now with the Cloud Skills Challenge.

Top Solution Authors