Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

Complex Join

Hi All,

 

I have a list of current subscribers for every week for the past year (inlcudes customer ID) that I have appended into one table and included a column 'Report Date'. I want to create 2 additional tables off this data: (1) Starts (customers that were on the current week report but not on the previous) and (2) Stops (customers that were on the previous weeks report but not on the current one). 

 

Is this possible to do in PowerBI? Is there another tool that would be better for this? Any help would be appreciated.

 

Thank you! 

1 ACCEPTED SOLUTION
SamWiseOwl
Super User
Super User

Hi @Anonymous 

I've mocked up your data and created 3 tables.

The first is filtered to this week and the other two are filtered to last week.

SamWiseOwl_0-1728912624923.png

 

On the In last week I have used a merge to the original table on the customer ID and set it to inner join (only rows in both tables)

SamWiseOwl_1-1728912696118.png

 

For the Not in last week do the same thing but change the join to Left Anti (Rows in this table NOT in the other table).

SamWiseOwl_2-1728912763974.png

 


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

View solution in original post

2 REPLIES 2
ryan_mayu
Super User
Super User

could you pls provide some sample data and expected output?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




SamWiseOwl
Super User
Super User

Hi @Anonymous 

I've mocked up your data and created 3 tables.

The first is filtered to this week and the other two are filtered to last week.

SamWiseOwl_0-1728912624923.png

 

On the In last week I have used a merge to the original table on the customer ID and set it to inner join (only rows in both tables)

SamWiseOwl_1-1728912696118.png

 

For the Not in last week do the same thing but change the join to Left Anti (Rows in this table NOT in the other table).

SamWiseOwl_2-1728912763974.png

 


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.