Find rows added or removed in a month-over-month analysis

tomekm

New Member
Joined
Mar 31, 2017
Messages
9
Desired output: depending on the Month you select in a filter/slicer, identify only the changes (Adds/Removals of the Identifiers) from the Selected Month vs Previous Month. For example, when selecting February in the filter/slicer, I want to show Identifier "E" (i.e. an Add, because "E" isn't present in January), and also "A" and "C" as the Removals (since they are present in January but not in February). Similarly, when I select March in a filter/slicer, I'd like to show "F" and "G" as the Adds (i.e. not present in February), and also "D" and "E" as the Removals (present in February, but not in March). Is there a way to accomplish this specifically with DAX? I'm able to get the results with anti joins in Power Query, but every time I do this monthly analysis I have to create 2 new filtered tables (filtered on the 2 months I need to analyze the changes on) and I don't want to do it this way. I want to keep 1 single 'append-all table' with all the months' data, and be able to identify the adds/removals based on the 2 months I select. I'm sort of looking for a 'dynamic filtering' option combined with anti joins within DAX.

1.JPG
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop

Forum statistics

Threads
1,215,493
Messages
6,125,119
Members
449,206
Latest member
burgsrus

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top