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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

How to track the movements of data between two tables

Hi apologies if the title doesnt make sense,

 

I am trying to create a measure that will track customer status between two tables, 

 

eg:

 

Last months data set

CustomerWarmHot Dealt
A12  
B13  
C 4 
D 5 
E  9
F  3

 

This months data set:

CustomerWarmHot Dealt
A 12 
B 13 
C 4 
D 5 
E  9
F  3

 

Is there a way to create a measure that will look at last months data and compare it to this months to tell me that customers "A" and "B" have moved from "Warm" to "Hot"?

 

Any suggestions would be appreciated 🙂

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

I'd like to suggest you union these tables(add new column to store date) and unpivot columns on it, then you can simply use measure to compare records based on customer id and date.

Unpivot columns (Power Query)

Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous ,

I'd like to suggest you union these tables(add new column to store date) and unpivot columns on it, then you can simply use measure to compare records based on customer id and date.

Unpivot columns (Power Query)

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors