Forum Discussion
RubenMerino
3 years agoFrequent Visitor
Distinc count grup by specific column
Hi I have a table with columns: ID, Order sale and Product. I need a mesure than count the number of Order sale that have iqual or more than 2 product. The photo of down resum the idea bet...
- 3 years ago
Hi,
try this measure:
Measure = var flag = CALCULATE(COUNT('Table'[Order Sale]))>=2returnif(flag=TRUE(),CALCULATE(DISTINCTCOUNT('Table'[ID])),0)If I answered your question, please mark my post as solution, Appreciate your Kudos ๐
DOLEARY85
3 years agoResident Rockstar
Hi,
try this measure:
Measure = var flag = CALCULATE(COUNT('Table'[Order Sale]))>=2
return
if(flag=TRUE(),CALCULATE(DISTINCTCOUNT('Table'[ID])),0)
If I answered your question, please mark my post as solution, Appreciate your Kudos ๐