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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
bixby
New Member

Line Chart Assistance

Hi all,

 

I have a table TICKETS that has date columns [ created ] , [ assigned ] , [ resolved ]

 

I want to display a line chart of all the tickets with those three separate lines as they all have separate dates and see the count of tickets relative to the values in those columns.

 

I created a measure of all the tickets (COUNTROWS[ Tickets ]) and tried applying that to the VALUES and the columns to the AXIS and Secondary Axis - yet the numbers displayed on the line chart are off. Only the Created number is correct.

 

I'm having a hard time wrapping my head around this.

 

 

1 ACCEPTED SOLUTION

Hi @bixby ,

 

Maybe I understand what you mean,you need to create an unrelated calendar table as an x-axis or slicer.

Then create 4 measures like this:

Measure = 
var count_ = CALCULATE(COUNT('Table (3)'[ticket_id]),FILTER('Table (3)','Table (3)'[created_date].[Date]=MAX('Table'[Date])))
return IF(ISBLANK(count_),0,count_)

Sample .pbix

 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
gpiero
Skilled Sharer
Skilled Sharer

@bixby 

Hi, 

could you share some sample data or an expected result you are looking for?

Regards

If I can...

Desired outcome:

Apply ONE date slicer to multiple date values in a line chart (chart shows number of tickets by date - lines represent "created", "assigned", "resolved", "unassigned"):

 

Example line chartExample line chart

 

Sample Data:

ticket_idcreated_dateassigned_dateresolved_dateunassigned_date
17/29/2020 8:59:34PM7/29/2020 9:19:34PM7/30/2020 12:59:34PM 
27/29/2020 9:59:34PM  7/29/2020
37/29/2020 10:59:34PM7/29/2020 9:25:34PM8/3/2020 6:59:34PM 

 

Hi @bixby ,

 

Maybe I understand what you mean,you need to create an unrelated calendar table as an x-axis or slicer.

Then create 4 measures like this:

Measure = 
var count_ = CALCULATE(COUNT('Table (3)'[ticket_id]),FILTER('Table (3)','Table (3)'[created_date].[Date]=MAX('Table'[Date])))
return IF(ISBLANK(count_),0,count_)

Sample .pbix

 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.