Forum Discussion
Count and sum unique Values
skorpion ill be honest you still not explaining very well, whats helpful is to show me some of your data and then what result you expect? trying to help wtih all the information helps
if i understand what you saying you only want unique products? unique products is 1 or 0? data will really help here
CALCULATE (
DISTINCTCOUNT ('Data Source'[ItemAr]), columnsale = 0)
that will give you the total count of all products that that have 0 columnsale
Item have cat and Sub cat sa well
Countorcale = CALCULATE (
DISTINCTCOUNT ('Data Source'[ItemAr]), DISTINCTCOUNT('Data Source'[CatAr]),DISTINCTCOUNT('Data Source'[SubAr]),'Data Source'[Orcale] = 1)
- vanessafvg8 years agoCommunity Champion
skorpion please provide the sub categorry below too with the expected result
Juice 1
Water 1
Juice 0
Water 1
Juice 1
Water 1
Output
juice 2
Water 3
- skorpion8 years agoHelper I
solved thanks your help
- vanessafvg8 years agoCommunity Champion
skorpion post the solution and make it the solution so others can learn from it