Forum Discussion
Anonymous
7 years agoNot applicable
Using 2 Date Fields as One Slicer
Hi, I have a table of Opportunities. In there I have 2 columns - "CreatedOn" And "ClosedOn". I have a Card containing count of new opportunities created (Ideally Controlled by "CreatedOn"), a...
- 7 years ago
Hi Anonymous
You may create the measures as below:
Opportunities Created = IF ( ISFILTERED ( 'Calendar'[YearMonth] ), CALCULATE ( COUNT ( Table1[Opportunities] ), FILTER ( Table1, Table1[Create] IN VALUES ( 'Calendar'[YearMonth] ) ) ) )Regards,
Cherie
v-cherch-msft
7 years agoMicrosoft Employee
Hi Anonymous
You may create the measures as below:
Opportunities Created =
IF (
ISFILTERED ( 'Calendar'[YearMonth] ),
CALCULATE (
COUNT ( Table1[Opportunities] ),
FILTER ( Table1, Table1[Create] IN VALUES ( 'Calendar'[YearMonth] ) )
)
)
Regards,
Cherie
Thomasdu43
7 years agoNew Member
Hello Cherie,
I used your solution and it is effective.
However, if some fieds are places I want to represent on a map, how should I do so that places and dates related?
Thank you and regards.