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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.