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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
romovaro
Post Partisan
Post Partisan

Comparing 2 tables - missing info in one table

hello,

 

I am having issues comparing 2 tables. 

 

romovaro_0-1683036157764.png

 

I hae a column called CUID (is a unique customer number.)

the idea is to compare a Baseline Extract with current data

 

to know the number of new customer we need to compare current extract vs Baseline. THe idea is to look for CUids included in the current file but are not included in the baseline (cuids don't exist in that file).

 

WIth current formulas it seems I am only including the ones already existing in both files (= No new cuids)

 

ANy tip?

 

 

@jgeddes 

 

 

2 ACCEPTED SOLUTIONS
DOLEARY85
Super User
Super User

Hi,

 

Could you do this in power query, merger the tables on a anti join to show only records that appear in one?

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

View solution in original post

jgeddes
Super User
Super User

Another solution in Power Query would be to create a list of the baseline CUIDs and then create a column in the current file that uses List.Contains to look for the current CUID in the baseline list. 




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

Proud to be a Super User!





View solution in original post

2 REPLIES 2
jgeddes
Super User
Super User

Another solution in Power Query would be to create a list of the baseline CUIDs and then create a column in the current file that uses List.Contains to look for the current CUID in the baseline list. 




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

Proud to be a Super User!





DOLEARY85
Super User
Super User

Hi,

 

Could you do this in power query, merger the tables on a anti join to show only records that appear in one?

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.