Forum Discussion
Stuznet
Helper V
7 years agoUse measure as Filter
Hi, I’m struggling with a simple DAX. I created a measure to compare month and year between two dates. Measure = CALCULATE(Count[Column1]), FILTER(Table, MONTH([Date1]) = MONTH([Date2]) && YEAR([...
Stuznet
Helper V
7 years agoHi parry2k,
I’ve tried that too. When I filtered to matched is giving me the one that is not matching too. When I filter to Not Matched is giving me blank
I’ve tried that too. When I filtered to matched is giving me the one that is not matching too. When I filter to Not Matched is giving me blank
parry2k
Super User
7 years agoStuznet would you mind sharing sample data and also if you can mention which records are showing wrong, will help.
- Stuznet7 years ago
Helper V
I think I got it.
This is what I did.First, I create a measure
Measure = COUNT([Product])
Second, I create a calculated column
Comparison = IF(MONTH([Received Date]) = MONTH([Date Submitted]) && YEAR([Received Date]) = YEAR([Date Submitted]),"Matched", "Not Matched")
Thank you for your help :)