Forum Discussion
broeren79
6 years agoFrequent Visitor
on time delivery
Hi all, Newby here, please go easy. I need to be able to visualize some performance measurements based on variables spread over 3 tables. My table structure: Table1: Incidents IncidentID ...
- 6 years ago
Hi broeren79
Assuming that your model looks like this
you can create a calc column to get you on time and late values
Status = if([Duration] > RELATED(DurationNames[Target]), "Late", "On Time")and a measure for your % on time
% On Time = DIVIDE(CALCULATE(COUNTROWS('Incidentdurationblocks'), filter('Incidentdurationblocks','Incidentdurationblocks'[Status] = "On Time")), COUNTROWS('Incidentdurationblocks'))I hope this helps,
Richard
Greg_Deckler
Community Champion
6 years agobroeren79 - I cover On Time in Full in Chapter 9 of DAX Cookbook. You can download the PBIX here: https://github.com/gdeckler/DAXCookbook
broeren79
6 years agoFrequent Visitor
thanks Greg_Deckler , i'll be sure to sure to check out the cookbook.