Forum Discussion
schoden
6 years agoPost Partisan
COUNTIF
Hi All, I am confused why there is variance between these two approach. To count the member where conditions are: a. status = closed or resolved b. date is Yesterday I created measure cl...
amitchandak
6 years agoSuper User
schoden , Try like
CLosed =
CALCULATE(DISTINCTCOUNT(table[member]),filter(table, (table[status]="Closed" || table[status]= "Resolved") && table[Date_Entered_UTC]= TODAY()-1 )
)
- schoden6 years agoPost Partisan
amitchandak Thanks for your response.
yes I did it that way also . It gives same result - with and without FILTER
- Anonymous6 years agoNot applicable
Hi schoden u need and if, in order to give a specific behavior with and without filter, try with this
mesuare = IF(SELECTEDVALUE('Table'[Date])>1,,SUM('Table'[value]), CALCULATE(SUM('Table'[value]), 'Table'[Date] = TODAY()-1))I leave you the .pbixthanks and regards