Forum Discussion
Anonymous
4 years agoNot applicable
Simple count certain values within measure
Hello I am looking to count certain values within a measure using DAX formulas. Below is a list of the distinct count of users per day: Date Users 3/01/2022 A 4/01...
- 4 years ago
Hi,
Thank you for the link.
Could you please try the below for calculating "appeared once" ?
Users count who have one in grand total measure 02: = COUNTROWS ( FILTER ( ADDCOLUMNS ( SUMMARIZE ( Data02, Data02[Date], Data02[Name] ), "@count", CALCULATE ( SUMX ( Data02, 1 ) ) ), [@count] = 1 ) )Please also check the attached pbix file.
Anonymous
4 years agoNot applicable
First of all, thanks again for the updated pbix file.
The revised result is showing 17
(14 users with "1" makes up 14 and 1 user with "3" = 17)
however, how do we count only the users with "1" to get 14.
Jihwan_Kim
Super User
4 years agoHi,
Thank you for your feedback.
Sorry that I cannot understond. Could you please kindly explain which user is "with 3", and what is the logic why it is "with 3" ?