Forum Discussion
Anonymous
6 years agoNot applicable
count names on a specific day
I want to count the names on a chosen day from date table. Measure= var a=selectvalue('date'[date]) return calculate(count(names),a>startdate&&a<enddate) The error message is The ex...
- 6 years agoYou need to use a filter in your second statement of the calculate expression.
calculate(count(names),filter(table, a>startdate&&a<enddate))
If this answered your question, please mark it as the solution. Kudos are welcome! ๐
JarroVGIT
6 years agoResident Rockstar
You need to use a filter in your second statement of the calculate expression.
calculate(count(names),filter(table, a>startdate&&a<enddate))
If this answered your question, please mark it as the solution. Kudos are welcome! ๐
calculate(count(names),filter(table, a>startdate&&a<enddate))
If this answered your question, please mark it as the solution. Kudos are welcome! ๐