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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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.


Visit my LinkedIn page by clicking here.


Schedule a meeting with me to discuss further by clicking here.

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.


Visit my LinkedIn page by clicking here.


Schedule a meeting with me to discuss further by clicking here.

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.


Visit my LinkedIn page by clicking here.


Schedule a meeting with me to discuss further by clicking here.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.