So I have a list of stores that are called upon sales reps. The sales reps do a check of a demonstration unit each time they visit. Is there a way in PowerPivot if the demonstration unit is not operational to count the number of weeks it has not been operational? Example is below.
Any help would be appreciated.
<colgroup><col><col><col><col></colgroup><tbody>
</tbody>
Any help would be appreciated.
Store Name | Demonstration Unit Operational? | Week | Number of weeks non operational *Calculated Column* |
Store 1 | Yes | 1 | |
Store 2 | Yes | 1 | |
Store 3 | Yes | 1 | |
Store 4 | No | 1 | |
Store 1 | Yes | 2 | |
Store 2 | Yes | 2 | |
Store 3 | Yes | 2 | |
Store 4 | No | 2 | 1 |
Store 1 | Yes | 3 | |
Store 2 | Yes | 3 | |
Store 3 | Yes | 3 | |
Store 4 | No | 3 | 2 |
<colgroup><col><col><col><col></colgroup><tbody>
</tbody>