Range Lookup in Power BI in the Power Query Editor

  Рет қаралды 29,820

Pragmatic Works

Pragmatic Works

Күн бұрын

Пікірлер: 66
@triovela
@triovela Жыл бұрын
Incredible! I've searched high and low for this solution. I found the blog you mentioned but you made the steps super simple to follow and understand. Thank you!
@mdhidayat5706
@mdhidayat5706 3 жыл бұрын
Wow...mindblown... The solution looks simple yet very elegant and beautifully written in PowerQuery.
@PragmaticWorks
@PragmaticWorks 3 жыл бұрын
Glad this helped!
@CAKimberlyLewis
@CAKimberlyLewis 2 жыл бұрын
THANK YOU! I've been looking for this for two days! My heart is happy! 🌞
@PragmaticWorks
@PragmaticWorks 2 жыл бұрын
Thank you for watching!
@MichaelsGaming2032
@MichaelsGaming2032 2 жыл бұрын
This worked perfectly for my case, thank you !
@PragmaticWorks
@PragmaticWorks 2 жыл бұрын
Happy to help!
@PradeepKumar-mh5ht
@PradeepKumar-mh5ht Жыл бұрын
This trick is really awesome, Thanks for sharing it.
@tubeitz
@tubeitz 2 жыл бұрын
Brilliant! Yes, Data modelling best practices videos please
@jamesgrant9560
@jamesgrant9560 3 жыл бұрын
Also keen. And great video! Perfect timing for a challenge on my desk!
@PragmaticWorks
@PragmaticWorks 3 жыл бұрын
Thanks James, glad this video was helpful!
@yousrymagdy1704
@yousrymagdy1704 Жыл бұрын
sending love from egypt , thank you man
@Abder-v4q
@Abder-v4q Жыл бұрын
Many thanks i was looking to this since a lot of weeks
@beckyp860
@beckyp860 2 жыл бұрын
This was awesome! Thanks so much for taking the time share.
@PragmaticWorks
@PragmaticWorks 2 жыл бұрын
My pleasure!
@gfbordin
@gfbordin 9 ай бұрын
Great Solution, Thanks!
@marteocosme5458
@marteocosme5458 2 жыл бұрын
this is exactly needed now in my project :D Thanks!
@PragmaticWorks
@PragmaticWorks 2 жыл бұрын
Glad to be of help!
@tinaflemons263
@tinaflemons263 3 жыл бұрын
Mitchell great video, I would be interested in a series on data modeling
@PragmaticWorks
@PragmaticWorks 3 жыл бұрын
Thank You Tina! -Mitchell Pearson
@utubeAgape
@utubeAgape 3 жыл бұрын
This is excellent! Yes, please do a series on data modeling! Thank you - I’ve subscribed!
@walterstevens8676
@walterstevens8676 4 ай бұрын
Really keen on a data modelling course!
@rachelwaterson3549
@rachelwaterson3549 2 жыл бұрын
Brilliant! Thank you so much
@PragmaticWorks
@PragmaticWorks 2 жыл бұрын
Glad you enjoyed!
@MamagCo
@MamagCo 9 ай бұрын
Thanks! I don't know it is still good what I did; but I just did you procedured twice, because I have a matching table inbetween :) --> but it seems to work for now.
@olgaitskova8542
@olgaitskova8542 2 жыл бұрын
thanks so much for this video!
@PragmaticWorks
@PragmaticWorks 2 жыл бұрын
You're welcome! Glad you enjoyed!
@jessicalouis-marie7453
@jessicalouis-marie7453 2 жыл бұрын
great thanks exactly what I needed, quick question if by doing this my results still returns 3 rows (start date in my date range changed slightly) so I would like to return the most recent start date, how would I do that , was think about max startdate but can not make it work
@johnabram4159
@johnabram4159 3 жыл бұрын
Hi Mitchell, @ 2:19 you said you will put a link to your favorite dimensional modelling book. No link found! Could you please?
@PragmaticWorks
@PragmaticWorks 3 жыл бұрын
Hey John, sorry about that! I added it to the description. My apologies.
@tramle3382
@tramle3382 4 ай бұрын
cool tutorial thanks bro
@ilkerozen3523
@ilkerozen3523 2 жыл бұрын
It works... Thank you!
@PragmaticWorks
@PragmaticWorks 2 жыл бұрын
You're welcome!
@guillermolapelosa2062
@guillermolapelosa2062 2 жыл бұрын
Hi, excellent video. In my case, it works in the power query editor but takes way too long to refresh in the reports tab. Any advice to solve this problem? maybe creating a column in the data tab with Dax would help to make it faster.
@arnaultc.5790
@arnaultc.5790 2 жыл бұрын
Same problem for me. It does not seem to be a proper solution for large datasets.
@ivantodorcevic984
@ivantodorcevic984 Жыл бұрын
Same problem here. Takes infinity to calc 50MB model. My best guess is that value of VAR currendate (=[auditdate] should be somehow cleared, after each record). But, I do not know how to do it. Any idea?
@zhajar
@zhajar Жыл бұрын
I think using table.buffer may help eith speed and efficiency
@10ozGold
@10ozGold 2 жыл бұрын
Excellent video Mitchell. What's the link to the Direct Lookup using Crossjoin that was mentioned at the 5:10 mark?
@aunad___
@aunad___ 7 ай бұрын
how do we do this in DAX please? did you end up sharing the video? i couldn't find it
@srikanth01guntur
@srikanth01guntur Жыл бұрын
Hi, This is excellent and very easy to understand and replicate. Thanks for sharing here.....Only one clarification....I applied the same, by the value/rate what I tried to map, but is is creating with rounding up (Ex- If the price is to be mapped is 226.71, it is getting updated as 227), I have ensured the format in same form in all the places but luck. Is there some thing else, I need to update as settings, Could you please suggest
@Bhavik_Khatri
@Bhavik_Khatri Жыл бұрын
Very nice example m8.
@pieterlinden8292
@pieterlinden8292 Жыл бұрын
Can I use a trick like this for doing product pricing? (my "recipe" stays the same, but ingredient prices change all the time) So I basically need to get "current" prices as of the date in the current evaluation context... ?
@giggt6701
@giggt6701 2 жыл бұрын
May I ask where is the link of that blog you were looking at?
@williamarthur4801
@williamarthur4801 Жыл бұрын
Is there a link to blog?
@yilu4886
@yilu4886 2 жыл бұрын
Wonderful
@PragmaticWorks
@PragmaticWorks 2 жыл бұрын
Thank you!
@bravucod
@bravucod 3 жыл бұрын
Great video, please provide the links mentioned in your tutorial. Thanks
@PragmaticWorks
@PragmaticWorks 3 жыл бұрын
Hey Daniel, my apologies! I added a link to the book on Amazon.
@bravucod
@bravucod 3 жыл бұрын
@@PragmaticWorks no apologies needed. Thanks for providing such a great content !
@vicks2412
@vicks2412 2 жыл бұрын
Yes for saries on data modeling
@ankitsingh-lp2zq
@ankitsingh-lp2zq Жыл бұрын
That's what we want 😎😎
@SairamBalasubramaniam
@SairamBalasubramaniam 2 жыл бұрын
Any reason why this method fails if we select as Merge as a new query. It works fine with Merge Queries.
@Ilya_4276
@Ilya_4276 3 жыл бұрын
thanks
@sarahc172
@sarahc172 2 жыл бұрын
This is great! Can you do something similar but with a range of numbers rather than dates to look in? For example, return the value associated with a number between 0-99, return a different value if it falls between 100-199, return a different value if it falls between 200-299, etc.
@gopichand5717
@gopichand5717 3 жыл бұрын
👏 interested
@PragmaticWorks
@PragmaticWorks 3 жыл бұрын
Thanks Gopi.
@siemdevlieger
@siemdevlieger 8 ай бұрын
Did anyone try this with a large dataset? I have 2 tables that contain a few 100K records per table. But it keeps loading forever. Not sure if I did something wrong, or if I should continue looking for another solution. Thanks!
@OscarPerez-hi7hq
@OscarPerez-hi7hq 7 ай бұрын
@PragmaticWorks second this request. It works, but not on large data sets. Any solutions?
@zulajenkins658
@zulajenkins658 3 жыл бұрын
good example ;)
@PragmaticWorks
@PragmaticWorks 3 жыл бұрын
Thanks!
@sonetmollick4630
@sonetmollick4630 2 жыл бұрын
I subscribed long time ago. :D
@PragmaticWorks
@PragmaticWorks 2 жыл бұрын
haha, awesome and thanks :) -Mitchell Pearson
@dizzyharris2658
@dizzyharris2658 Жыл бұрын
Thank you. I was able to use this to calculate an aggregation I've been trying to do for a while. Given an employee's start and end date, how many employee's were employed on any given date. I just took the Add column expression from this video and applied it to a Date Table with out joining it to my Employee Hire Dim Table. #"Added Custom" = Table.AddColumn(#"Changed Type", "Employee Aggregate", each let currentdate = [Date] in Table.SelectRows(EmployeeHireDim, each [StartDate] = currentdate)), #"Aggregated Employee Aggregate" = Table.AggregateTableColumn(#"Added Custom", "Employee Aggregate", {{"EmployeeID", List.Sum, "Sum of EmployeeID"}, {"EmployeeID", List.NonNullCount, "Count (Not Blank) of EmployeeID"}})
@unitedeurope8614
@unitedeurope8614 Жыл бұрын
I have this solution, the problem is: if there is a nul oder error value to be looked up, the query will fail in the expand step (the query will fail to load completely afer the offending record)
@ubonguttah
@ubonguttah 3 жыл бұрын
Keen
@PragmaticWorks
@PragmaticWorks 3 жыл бұрын
Thanks!
ULTIMATE Power BI Tutorial 📊 Beginner to Pro Course (2024)
3:40:48
Pragmatic Works
Рет қаралды 191 М.
What type of pedestrian are you?😄 #tiktok #elsarca
00:28
Elsa Arca
Рет қаралды 27 МЛН
World’s strongest WOMAN vs regular GIRLS
00:56
A4
Рет қаралды 44 МЛН
Perfect Pitch Challenge? Easy! 🎤😎| Free Fire Official
00:13
Garena Free Fire Global
Рет қаралды 93 МЛН
Lookup multiple values in DAX
22:10
SQLBI
Рет қаралды 53 М.
Quick Vlookups in Power Query!
9:37
Goodly
Рет қаралды 56 М.
Row context in DAX explained visually
21:45
SQLBI
Рет қаралды 18 М.
DAX and the Start Date End Date Problem aka Events In Progress
12:54
Access Analytic
Рет қаралды 50 М.
DATE TABLE for Power BI using Power Query
21:26
How to Power BI
Рет қаралды 146 М.
Using RELATED and RELATEDTABLE in DAX
18:04
SQLBI
Рет қаралды 42 М.