Forum Discussion
Calculating average price using distict count??
- 8 years ago
Hi hidenseek9,
Try these formulas
Count=DISTINCTCOUNT(Data[Store])
Contribution (%)=[Count]/CALCULATE([Count],ALL(Data[Brand]),ALL(Data[Product]))
Hope this helps.
Hi hidenseek9,
You say that you want to know in how many stores each product is sold? In your dataset, i see Product Name but i do not see any Store Name column. Please show the exact structure of your expected result.
- Ashish_Mathur8 years agoSuper User
- hidenseek98 years agoPost Patron
What I would like to know is below on any given month.
- A total number of stores checked. (i.e. Brand A: 200 stores, Brand B: 300 stores,...All Brand 1000 stores)
- A total number of stores that each product is sold. (i.e. Brand A Product Name 1: 50 stores, Brand A Product Name 2: 100 stores, etc.)
- Distribution of each product in percentage. (This would be 2 / 1 (A total number of stores checked for all brands)
Many thanks,
H
- Ashish_Mathur8 years agoSuper User
Hi,
When i try to build a Pivot Table, i get the same number of stored checked for all brands. There is something wrong with the dummy data that you have shared. Share a smaller dataset and with respect to that smaller dataset, share the expected result (show actual numbers that you are expecting there).