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! Request now

Reply
Tim_H
Helper I
Helper I

How to create percentage trendline ?

Hi,

 

I want to create a percentage trendline for all closed tickets in time

 

I already created two tables in XLS to count tickets per day

 

DaysTicket #

03
31
71
91
111
161
171
211
241
291
761
1721
2801

 

 

 Input Pivot 
DaysNumber of ticketsSolved %Target KPI %
0320%92%
1020%92%
2020%92%
3127%92%
4027%92%
5027%92%
6027%92%
7133%92%
8033%92%
9140%92%
10040%92%
11147%92%
12047%92%
13047%92%
14047%92%
15047%92%
16153%92%
17160%92%
18060%92%
19060%92%
20060%92%
21167%92%
22067%92%
23067%92%
24173%92%
25073%92%

 

in the end I want to become something as below

 

Tim_H_0-1616577228806.png

 

How can I calculate the solved % using dax ?

 

Thanks

 

Tim H

1 ACCEPTED SOLUTION
Jihwan_Kim
Super User
Super User

Hi, @Tim_H 

Please correct me if I wrongly understood.

 

please check the below picture whether it is what you need. Picture1.png

 

total quantity cumulate =
CALCULATE( [total quantity], FILTER(
ALLSELECTED(Days_Table), Days_Table[Days] <= MAX( Days_Table[Days])))
 
 
PBIX file link is down below.

 

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!

 

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

View solution in original post

5 REPLIES 5
Jihwan_Kim
Super User
Super User

Hi, @Tim_H 

Please correct me if I wrongly understood.

 

please check the below picture whether it is what you need. Picture1.png

 

total quantity cumulate =
CALCULATE( [total quantity], FILTER(
ALLSELECTED(Days_Table), Days_Table[Days] <= MAX( Days_Table[Days])))
 
 
PBIX file link is down below.

 

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!

 

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

not exactly how I dit it..but you really helped in finding the solution. 

 

This is in the way I want it...only I have a calculation before I came to the tables shown above.

 

for example: I use below calculation to get tickets per day

 

_Final_sol_time tickets age grouping = COUNTROWS(FILTER(overview, overview[Case Milestone_Final Sol Actual Elapsed Time]>=VALUES('Hours Grouping'[min])&& overview[Case Milestone_Final Sol Actual Elapsed Time]<=VALUES('Hours Grouping'[max])))
 
This gives me below
 
Tim_H_0-1616592694269.png

 

blue flat line is KPI
 
it is on this graph I want to add the cumulative percentage.
 
 
 
kr
 
Tim H

Hi, @Tim_H 

Thank you for your information.

Is it OK with you to share your sample data?

It helps me a lot to look into it with a clear idea.

Thank you very much.


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

I have to see how to create a sample from the whole pibx..current PIBX has +400k lines and +200 columns wit some restricted data (GDPR).

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

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!

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
Top Kudoed Authors