Forum Discussion
Anonymous
8 years agoNot applicable
DAX count, Summarize, Filter
I want to count the API_proxies that have multiple Developer_app. In this case, 2 API_proxies have multiple developer Apps. I know it's likely some combo of SUMMARIZE and FILTER... API_pr...
- Anonymous8 years ago
I had to change your count to a distinctcount to get the result I wanted:
CountOfMulitpleApps = COUNTROWS ( FILTER ( SUMMARIZE ( apige_usage_test, [API_Proxy], "MyCount", DISTINCTCOUNT ( [Developer_App] ) ), [MyCount] > 1 ) )
Greg_Deckler
8 years agoCommunity Champion
Try this:
CountOfMulitpleApps = COUNTROWS(FILTER(SUMMARIZE(Table,[API_Proxy],"MyCount",COUNT([Developer_App])),[MyCount]>1))
Anonymous
8 years agoNot applicable
I had to change your count to a distinctcount to get the result I wanted:
CountOfMulitpleApps =
COUNTROWS (
FILTER (
SUMMARIZE (
apige_usage_test,
[API_Proxy],
"MyCount", DISTINCTCOUNT ( [Developer_App] )
),
[MyCount] > 1
)
)