r/ExcelPowerQuery • • 2d ago

Read Record Vs Table Join

Hello,

I’m learning PQ by myself and I’ve always used table joins when I wanted to fetch informations located in another table.

Recently I noticed that I often used "info tables" with only one record so I could easily turn these tables in a record instead.

Is it usually a better idea to use a Record.Field() over a table join any time I can ?

Edit : more data below

That’s my "fact table"
My dimension table

I want to integrate the code in my fact table.

I have two options :

I. I join table 1 with table 2 and use "Test" as the key

II. I transform the table 2 in a record and I use a custom column to read the record.

The table 2 as a record
4 Upvotes

2 comments sorted by

1

u/plusFour-minusSeven 2d ago

Having a hard time visualizing that. A table with 1 record? Interesting.

I'm not sure it matters, but it seems like an interesting way of normalizing a model.

Can you give mock examples?

1

u/Converging_Winds 1h ago

I edited the post