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

Power Bi Data modelling - How to create a product lookup table for like for like sales

Hi

 

I am failry new to Powerbi, and I would appreciate a little help please. I have a situation where I need to create a report that will show like for like sales per product of the last two years. In itself this is not a big issue, my issue is that products tend  to be relaunched (same product) but under a new product id. So matching Like for sales by product id over a period will fail, due to a product name change.  I need to create a lookup table but I am not sure how to do it and reference it . It Might also be that some product id s do not change (so no alias) would be needed, example 

 

DShaw1971_0-1677072832673.png

DShaw1971_1-1677072864357.png

 

These  two tables are linked by product id,

 

Data example 

 

Sales 2022                                 Sales 2023

productid                                  Product ID

10221              alias                   8765

87986             alias                    9897

 

In this simplified case, comparing the two products on a year-week basis will fail.

 

I would really appreciate any kind help you could offer please

 

Thank you 

 

0 REPLIES 0

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.