Forum Discussion
RichOB
1 year agoPost Partisan
Need help adding a date range to a measure
Hi, I need to add a date range for my Canada customer count measure please. I currently have: Measure 1: Customer_Count = Count('Sheet1'[Customer_ID]) Measure 2: Canada_Count = CALCULATE('Sheet...
- 1 year ago
Hi,
you can try add one more filter inside calculate like this.
Canada_Count =
CALCULATE(
COUNT('Sheet1'[Customer_ID]),
'Sheet1'[Country] = "Canada",
'Sheet1'[Date] >= DATE(2024, 4, 1),
'Sheet1'[Date] <= DATE(2024, 4, 30)
)
Thennarasu_R
1 year agoResponsive Resident
Hi RichOB
Below mention calculation only for the April Month Count .
Canada_Count = CALCULATE('Sheet1'[Canada], 'Sheet1'[Country] = "Canada"),AND(Date Colum>=01/04/2024,Date column<=30/04/2024)
Thanks,
Thennarasu R
If answered your questions mark accepeted a solution and give kudo !