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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors