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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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