Forum Discussion
Anonymous
5 years agoNot applicable
Help With Measure
I have a line chart (screenshot below) with two measures and I need help with the 2nd measure: %on-time - calculates the number of items that were delivered on time (green line chart below) %on-ti...
Anonymous
5 years agoNot applicable
whats the formula for your first measure??
- Anonymous5 years agoNot applicable
Anonymous
%OnTime = [TotalOnTime]/[TotalAccep&DelScan] [TotalOnTime] = CALCULATE(COUNTROWS('DistProfile v1-3'),FILTER('DistProfile v1-3','DistProfile v1-3'[Acceptance]<>BLANK()&&'DistProfile v1-3'[Delivery]<>BLANK()&&'DistProfile v1-3'[On Time]="Y")) [TotalAccep&DelScan] = CALCULATE(COUNTROWS(FILTER('DistProfile v1-3','DistProfile v1-3'[Delivery]<>BLANK()&&'DistProfile v1-3'[Acceptance]<>BLANK()&&'DistProfile v1-3'[On Time]<>"Err Scan"&&'DistProfile v1-3'[On Time]<>"No Scan")))