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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Rgrullon
New Member

Data modeling

Hi Guys, in new in the power bi world, and I`m receiving some basic information on Excel, I'm trying to design a Kpi master to get the best data for a small company. I got stuck in some things for example I know how to merge and combine columns but, now I want to match columns with rows and have this data like xlookup from Excel. I will let example data to better know the problem.

 

 This is the Main data of sales I get,  as you can see  the products are columns and stores are  rows

also, we get the same store but different weeks, so I design and unique id using =concat( week+ store)

 

STORE

WEEK

id

Mission - Salsa - Medium - Chunky - 16.0oz (7373100954)

Calidad - Chip - White - Triangle - Cello - 11.0oz (7794800907)

Calidad - Chip - Yellow - Triangle - Cello - 11.0oz (7794800906)

Great Value - Flour - Soft Taco - Carb Balance - 8.0 - 8ct - 12.0oz (7874229483)

Guerrero - Corn - White - 5.5 - 30ct - 25.0oz (4856406002)

Guerrero - Corn - White - 5.5 - 80ct - 66.67oz (4856406000)

Guerrero - Flour - Burrito - Casera - 9.5 - 8ct - 20.0oz (4856407205)

PLAZA TROPICAL 167426

Wk 25 Jun/23 (18-24)

Wk 25 Jun/23 (18-24)PLAZA TROPICAL 167426

189

189

11

11

11

11

8

M1ISSION ACCOMPLISHED LLC 983407

Wk 24 Jun/23 (11-17)

Wk 24 Jun/23 (11-17)MISSION ACCOMPLISHED LLC 983407

187

187

1

-9

-4

-13

11

MISSION ACCOMPLISHED LLC 983416

Wk 22 Jun/23 (28-3)

Wk 22 Jun/23 (28-3)MISSION ACCOMPLISHED LLC 983416

37

37

11

0

-17

65

11

 

 

Now imagine I get this data that shows me the code of each product and also the total sales and the  AWS (average week sales)

and I want to match the items on this with the items on the upper table and extract: code, mdq(minimum delivery qty), total sales, and aws.  

 

code

description

MDQ

TOTAL SALES

AWS

3661

Mission - Salsa - Medium - Chunky - 16.0oz (7373100954)

12

1500

214.29

7751

Calidad - Chip - White - Triangle - Cello - 11.0oz (7794800907) 

16

1600

228.57

7752

 

Great Value - Flour - Soft Taco - Carb Balance - 8.0 - 8ct - 12.0oz (7874229483)

16

1700

242.57

 

also,  this other table has the store on columns and the name and route.

Sold-to

NameRegion

PLAZA TROPICAL 167426

826 W.Orlando-Daniel

071 SPR TRG #1519 113392

G657/698 N.Clermont-Gustavo

M1ISSION ACCOMPLISHED LLC 983407

412 Oviedo-Jefferson

MISSION ACCOMPLISHED LLC 983416

414 Poinciana-Carlos

071 SPR TRG #2264 132358

G803/408 Winter Garden-Michelet

 

 

now my problem is to get just one single table that has all those information by store so I can make charts and present just one complete report, of course, I get thousands of rows and columns of information but with this example data I think you guys can help me also I add some images attached.

 

Rgrullon_1-1690549840899.png

 

Rgrullon_2-1690549863230.png

 

Rgrullon_3-1690549886407.png

 

 

 

 

lastly, this is how my dashboard is looking now, its just a dummy version of course 

 

Rgrullon_0-1690549803590.png

 

0 REPLIES 0

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.