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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher 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

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

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

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
May Power BI Update Carousel

Power BI Monthly Update - May 2026

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