Forum Discussion
Anonymous
6 years agoNot applicable
counts rows for dates between
Hi All, I need to count the number of closed tickets in a table between 2 dates. I have a date table connected to my data table To get a closed date I had to use an if statement: Clos...
- 6 years ago
Hi Anonymous ,
To create a measure as below.
Measure = CALCULATE ( COUNTROWS ( Query1 ), FILTER ( Query1, Query1[Closed Date] >= DATE ( 2018, 08, 01 ) && Query1[Closed Date] <= DATE ( 2019, 07, 31 ) ) )If it doesn't meet your requirement, kindly share your sample data and excepted result to me if you don't have any Confidential Information. Please upload your files to One Drive and share the link here.
v-frfei-msft
6 years agoCommunity Support
Hi Anonymous ,
To create a measure as below.
Measure =
CALCULATE (
COUNTROWS ( Query1 ),
FILTER (
Query1,
Query1[Closed Date] >= DATE ( 2018, 08, 01 )
&& Query1[Closed Date] <= DATE ( 2019, 07, 31 )
)
)
If it doesn't meet your requirement, kindly share your sample data and excepted result to me if you don't have any Confidential Information. Please upload your files to One Drive and share the link here.
- Anonymous6 years agoNot applicable
Worked perfectly, thanks