Forum Discussion
dw700d
Post Patron
3 years agodistinct count aggregate
Good day all, I am trying to create a measure that calculates the distinct count of Circuits with a profit greater than 0. I am using the measure below. The measure appears to be evaluating on ...
- 3 years ago
dw700d Try:
Count of Profit Circuit version 2 = COUNTROWS( FILTER( SUMMARIZE( 'Inventory', [Circuit #], "_Profit", SUM(Inventory[Profit]) ), [_Profit] > 0 ) )
Greg_Deckler
Community Champion
3 years agodw700d Try:
Measure =
COUNTROWS(
FILTER(
SUMMARIZE(
'Table',
[Circuit],
"__Profit", SUM('Table'[Profit])
)
[__Profit] > 0
)
)- dw700d3 years ago
Post Patron
Greg_Deckler thank you for your help. I am not quite sure what I am doing wrong. Any thoughts
Count of Profit Circuit version 2 =COUNTROWS(FILTER(SUMMARIZE('Inventory',[Circuit #],"_Profit", SUM(Inventory[Profit]))[_Profit], SUM(Inventory[Profit]))[_Profit] > 0))- Greg_Deckler3 years ago
Community Champion
dw700d Try:
Count of Profit Circuit version 2 = COUNTROWS( FILTER( SUMMARIZE( 'Inventory', [Circuit #], "_Profit", SUM(Inventory[Profit]) ), [_Profit] > 0 ) )