Lookup values from the same table in Power Query

Lookup values from the same table in Power Query

Curbal

4 года назад

27,336 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@brysonjones6196
@brysonjones6196 - 07.10.2020 15:05

keep up the great work keep working on different scenarios that is what makes you stand out and different in a good way. thank you

Ответить
@InkyPhys
@InkyPhys - 07.10.2020 15:15

First time seeing video for this. Been doing similar for a while to replace an IF statement. Performance gain was huge.

Ответить
@jaymehta3320
@jaymehta3320 - 07.10.2020 16:50

Super helpful. Thanks lady!

I have had occasions where I needed to get, say previous day $ amount, and the rows are for each day. This helps in such cases (may be in conjunction with an Index column).

Ответить
@danielsiffredi8403
@danielsiffredi8403 - 07.10.2020 17:36

This is great Ruth. I had similar situations in the past and I didn’t know how to address them. Awesome technique!

Ответить
@zubairso
@zubairso - 07.10.2020 19:45

It was very useful, I just can't thank you enough for all your videos!

Ответить
@VastCNC
@VastCNC - 07.10.2020 21:14

I love merging to itself, it is very handy along with indexes, conditions, fills and basic arithmetic. Can very quickly rebuild repeating tables with funky multilined headers into a proper data set.

Ответить
@pedrosanteloy
@pedrosanteloy - 08.10.2020 00:14

Great tip! Thanks, Ruth!!

Ответить
@cicciogrecia
@cicciogrecia - 08.10.2020 11:34

Great! Thank you

Ответить
@SMITDEDHIA96
@SMITDEDHIA96 - 08.10.2020 12:01

muchas gracias!

Ответить
@suryasahoo3771
@suryasahoo3771 - 08.10.2020 15:18

Nice trick Ruth

Ответить
@luisjimenez917
@luisjimenez917 - 09.10.2020 16:11

Excellent. Like ever....Thanks.!!!

Ответить
@sheilahart5989
@sheilahart5989 - 09.10.2020 20:15

Great tip! I love that you don't import more files than needed. Thanks Ruth!

Ответить
@alfredoiglesias7856
@alfredoiglesias7856 - 12.10.2020 09:23

Thank you, Ruth!

Can you give an example of how can I fill that from 3 different tables where some records already have the data on them? If they don’t have data, fill with “x” data.
I use iferror function with ifs but I don’t find a way to do this on power query yet.

Ответить
@Farreach
@Farreach - 14.10.2020 07:11

I am trying to create a function that pulls from a table on a website the function takes a URL and returns a table and i want to grab a few rows from this table however this table slightly differs just a little.. determining what item's info i want to grab ... When i try and do this i am unable to filter more than just one criteria ..do you know how to fix this?

Ответить
@mcnater
@mcnater - 14.10.2020 22:47

nice example!

Ответить
@gam85191
@gam85191 - 23.10.2020 05:19

Who is this beautiful woman

Ответить
@piotrsz6847
@piotrsz6847 - 30.11.2020 01:12

Hej Ruth, your Power Query videos are great! thank you!

Ответить
@datainkanalytics
@datainkanalytics - 16.01.2021 06:46

As you rightly said, there are many ways of achieving the requirement in Power Query.

I tried a sample case, where Part no was not prefix in all description. So following was the workaround.
============================================================

let
Source = Excel.Workbook(File.Contents("D:\Temp\Power Query - Curbal.xlsx"), null, true),
Sheet1_Sheet = Source{[Item="Sheet1",Kind="Sheet"]}[Data],
#"Promoted Headers" = Table.PromoteHeaders(Sheet1_Sheet, [PromoteAllScalars=true]),
#"Filtered Rows" = Table.SelectRows(#"Promoted Headers", each ([Part no] <> null and [Part no] <> "Part no")),
#"Added Custom" = Table.AddColumn(#"Filtered Rows", "Number", each Number.IsNaN([Description])),
#"Replaced Errors" = Table.ReplaceErrorValues(#"Added Custom", {{"Number", true}}),
#"Pivoted Column" = Table.Pivot(Table.TransformColumnTypes(#"Replaced Errors", {{"Number", type text}}, "en-IN"), List.Distinct(Table.TransformColumnTypes(#"Replaced Errors", {{"Number", type text}}, "en-IN")[Number]), "Number", "Description"),
#"Renamed Columns" = Table.RenameColumns(#"Pivoted Column",{{"true", "Description"}, {"false", "Price"}}),
#"Changed Type" = Table.TransformColumnTypes(#"Renamed Columns",{{"Part no", Int64.Type}, {"Description", type text}, {"Price", Int64.Type}})
in
#"Changed Type"

Ответить
@BAnandmayi
@BAnandmayi - 29.05.2021 20:47

Was searching for this help since morning...thanks a lot

Ответить
@LinoPacheco
@LinoPacheco - 10.08.2021 06:16

Thank you!

Ответить
@overhearification
@overhearification - 14.10.2021 00:58

This is so brilliant. I thought I had at least some strategy to solve most common data management problems but today I was stumped. THANK YOU, once again!

Ответить
@lukereds9975
@lukereds9975 - 01.12.2021 17:20

Hi Ruth, this is ok if ALL descriptions contain the same word (Part in your example), what if that doesn't happen? We have to add additional column with formula, no other way right? Gracias

Ответить
@brianmcardle5418
@brianmcardle5418 - 07.12.2021 15:53

tá tú thar cionn

Ответить
@paulgallagher2987
@paulgallagher2987 - 16.12.2022 15:46

How did I not know this was a thing?! Thanks Ruth. :)

Ответить
@RohithN10
@RohithN10 - 15.12.2023 10:16

This is a very good content! But the title is misleading ( Same table means it should be single table but here you're using two tables).

Ответить
@flaviogarlatticosta
@flaviogarlatticosta - 04.10.2024 15:13

Fantastico Trick 👍

Ответить