horrellbt01
Board Regular
- Joined
- Mar 15, 2010
- Messages
- 68
I am having a hard time writing this measure.
I have a table called Stores
In that table I have a column named TM and a column named "StoreType"
I need a measure that divides the number of times the word "open" appears in the TM column by the count of the specific store type.
Example:
I have a table called Stores
In that table I have a column named TM and a column named "StoreType"
I need a measure that divides the number of times the word "open" appears in the TM column by the count of the specific store type.
Example:
StoreType | TM | Desired Result | ||
A | Open 9-5 | Store Type | Open % | |
A | Closed | A | 50% | |
B | Open 10-2 | B | 75% | |
B | Renovation | C | 50% | |
B | Open 7-4 | |||
C | Open | |||
C | Open during construction | |||
C | Closed permanently | |||
C | Unknown |