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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

Target for task Completion everyday

Hello I have a Tasks Table 

IDStateDate

1127/4/2022
2127/4/2022
3127/4/2022
4127/4/2022
5127/4/2022
6127/4/2022
7127/4/2022
82 
92 
102 
112 
12126/4/2022
13125/4/2022
14125/4/2022
15125/4/2022
162 
172 
182 
19124/4/2022
20124/4/2022

 

since Completion State 1 mean completed

but 2 is Incomplete..

I have a dax for find cumulative Completion over time ..

 

completed %:=calculate(counta(ID),[State] = 1) /counta(ID)*100

 


-------------------------------

 

Cumulative Total:=
CALCULATE([completed %],
FILTER(ALL('tasks'),
tasks[complete_date] <= MAX(tasks[complete_date])
)
)

 

 

now I want a cummulative target for every day to be plot side by side with cumulative total..

(lets say that those tasks should be done in 10 days)

which (total tasks)/10 = 20/10 =2 every day... to calculate target % = 2/20 = 10% every day--> so the graph will show in fisrt date

10% then 20% then 30 % and so on until the max date

 

any help to create dax equation for target

3 REPLIES 3
amitchandak
Super User
Super User

@Anonymous , Try measures like

completed %:= Divide(calculate(counta(tasks[ID]),Filter(tasks, tasks[State] = 1)) ,counta(tasks[ID]))


Cumulative Total:=
CALCULATE([completed %],
FILTER(ALL('tasks'),
tasks[complete_date] <= MAX(tasks[complete_date] && not(isblank(tasks[complete_date])) )
)
)

 

But better use date table join with date  and use date from date table in visual

 

Cumulative Total:=
CALCULATE([completed %],
FILTER(ALL('Date'),
Date[Date] <= MAX(Date[Date])) , not(isblank(tasks[complete_date])) )

 

Why Time Intelligence Fails - Powerbi 5 Savior Steps for TI :https://youtu.be/OBf0rjpp5Hw
https://amitchandak.medium.com/power-bi-5-key-points-to-make-time-intelligence-successful-bd52912a5bd4

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

thank you that was helpful to make the cumulative total more accurate...

but how about the target...

maybe if you didnt get my point ... target should be all tasks devided by total days to be needed to be done with... so if I have 20 tasks regardless to complete status and I want them to be finished in 10 days that means each day should have 2 tasks done... those 2 tasks percent from the total which is 20 tasks is 10%

so the graph should draw 10 then 20 then 30 then 40 and so on for each day..

can you help me with that

Anonymous
Not applicable

Hi @Anonymous,

Can you please share a pbix or some dummy data that keep raw data structure with expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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