Hello,
I am trying to create a report that shows me the sales amount by country and store (both belong to the same Location Dimension).
My Location Dimension:
| Country | Store |
|---|
| USA | Store 1 |
| USA | Store 2 |
| USA | Store 3 |
When I add the fact measure Sales, notice that there are no sales for Store 3:
| Country | Store
| Sales Amnt |
|---|
| USA | Store 1 | 1000$ |
| USA | Store 2 | 2000$ |
Now I need to count the number of stores by country. If I add a count (Store), I get 2 because it counts only the stores that had sales associated to them.
| Country | Store | count (store) | Sales Amnt |
|---|
| USA | Store 1 | 2 | 1000$ |
| USA | Store 2 | 2 | 2000$ |
How can I also include Store 3 in my count?? I need the count (store) column to display 3 instead of 2.
Thank you,
Joao