Forum Discussion
Anonymous
5 years agoNot applicable
Comparing data using a filter and displaying the difference
Hi, I have value type date and computer Date Computer 2021-09 Computer 1 2021-09 Computer 12 2021-09 Computer 2 2021-09 Computer 3 2021-10 Computer 1 2021-10 ...
- 5 years ago
Hi Anonymous,
Create two calculated table as:
2021_9 = CALCULATETABLE( 'Table', MONTH('Table'[Date])=9 )2021_10 = CALCULATETABLE( 'Table', MONTH('Table'[Date])=10 )Try measure as:
Measure = IF( MAX('Table'[Computer]) in VALUES('2021_10'[Computer]) && MAX('Table'[Computer]) in VALUES('2021_9'[Computer]), 1, 0 )Here is the output:
The pbix is attached.
If you still have some question, please don't hesitate to let me known.
Best Regards,
Link
Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution. Really appreciate!
v-xulin-mstf
Community Support
5 years agoHi Anonymous,
Create two calculated table as:
2021_9 =
CALCULATETABLE(
'Table',
MONTH('Table'[Date])=9
)2021_10 =
CALCULATETABLE(
'Table',
MONTH('Table'[Date])=10
)
Try measure as:
Measure =
IF(
MAX('Table'[Computer]) in VALUES('2021_10'[Computer]) && MAX('Table'[Computer]) in VALUES('2021_9'[Computer]),
1,
0
)
Here is the output:
The pbix is attached.
If you still have some question, please don't hesitate to let me known.
Best Regards,
Link
Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution. Really appreciate!
Anonymous
5 years agoNot applicable
You are a genius, this is exactly what I needed.
Thank you, thank you, thank you!