Forum Discussion

itsEDGAR's avatar
itsEDGAR
Frequent Visitor
6 years ago

How Do I Make a Chart That Counts Activities Start/Finish Within Specific Month

I literally found out about Power Bi yesterday so I'm learning and thank you to whoever helps! I've tried looking through people's posts with similar setups but i'm just too new to take the codes and adjust to fit to my exact purpose.

 

I have a table full of activities with start and finish dates (2 different columns) with the file # tied to each row.

 

Table: Updates 
Columns:Update#, Activity ID, Activity Status, Start Date, Finish Date, Budget, Actual Billed

The goal is to have a chart that can quickly show me the Update#, number of Planned Activities (source table: "Updates">2 Columns (Start/Finish & Gets the correct UP#)), number of Actual Activities (source table: "Updates">2 Columns (Start/Finish & Gets the correct UP#), Calculate % Hit of Planned/Actuals

 

Example Product:

Update#1, Nov-19, Planned 50, Actual 46, 92% 

Update#2, Dec-19, Planned 60, Actual 45, 75%

File #3... etc..

 

I understand I have to make a new measure but I have no idea what codes work here to get me to count the activities that fit within Nov-19 for example.

 

The code has to check UP#0 to get the planned count for UP#1 (the file numbers mean progress of a month), so to get the planned # count of Update #2 will have to come from Update #1 - Start / Finish planned dates.

 

Would it also be possible to click the planned activities number and open the list of the activities planned and also be able to click the actual number and link to a chart of the activities that were actually closed start/finish?

4 Replies