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,
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).
Here is a simplified version of the sample data.
I have also attached the answers to the questions in the file already.
Basically, I would like to calculate the following in PowerBI
- Air Jordan Distribution (Brand)
- Air Jordan 1 Distribution
- Air Jordan 2 Distribution
- Carmelo Distribution (Brand)
- Carmelo 1 Distribution
- Carmelo 2 Distribution
Many thanks,
H
- Ashish_Mathur8 years agoSuper User
Hi hidenseek9,
Try these formulas
Count=DISTINCTCOUNT(Data[Store])
Contribution (%)=[Count]/CALCULATE([Count],ALL(Data[Brand]),ALL(Data[Product]))
Hope this helps.