Change category while keeping history | Slowing changing dimensions with Excel and Power Query.

  Рет қаралды 9,462

Excel Off The Grid

Excel Off The Grid

Күн бұрын

Пікірлер: 46
@ExcelOffTheGrid
@ExcelOffTheGrid 5 ай бұрын
Sign up for our free Insiders program and get the example file: exceloffthegrid.com/insiders-signup/ File Reference for this video: 0218 Change category - keep history
@ttilta
@ttilta Ай бұрын
I love your videos, you handle problems I've actually encountered with such elegance.
@billsterUK
@billsterUK 5 ай бұрын
I learned more in 10 minutes than I have in the past 2 months 'playing' with Excel - Subscribed!
@56Nine
@56Nine 5 ай бұрын
I was going to comment the exact same. The applications of these techniques are virtually endless.
@ExcelOffTheGrid
@ExcelOffTheGrid 5 ай бұрын
Playing is valuable, but it's always helpful to get some outside input to give you some new ideas.
@ExcelOffTheGrid
@ExcelOffTheGrid 5 ай бұрын
Agreed... the end occurs when the world ceases to have data problems 😁
@ryanbartlett672
@ryanbartlett672 5 ай бұрын
Thanks. I was on your level for the beginning, then you took it to new levels with TextJoin, BYROW, and LAMBDA! Well done.
@ExcelOffTheGrid
@ExcelOffTheGrid 5 ай бұрын
Maybe I will do a video about BYROW/LAMBDA then. As it's a really powerful combination.
@RichardJones73
@RichardJones73 5 ай бұрын
Blooming heck. Never thought this was possible in excel. Great job and well explained
@ExcelOffTheGrid
@ExcelOffTheGrid 5 ай бұрын
Almost everything is possible with Excel 😁
@v2pumo817
@v2pumo817 5 ай бұрын
Nice combination of wonderfull functions . Thanks a lot
@ExcelOffTheGrid
@ExcelOffTheGrid 4 ай бұрын
Glad you liked it - I hope you can put it to good use.
@bryancamareno2831
@bryancamareno2831 5 ай бұрын
Mark - This was fantastic! This was the 1st Lambda I’ve seen that I actually understood. I often have a need at work to see how categories have changed over a period of time and my existing solution(s) were either too manual or more fussy that I’d like. I also had no idea you could use a function inside of Replace Values to generate a dynamic replacement value. I can’t wait to try these techniques out with the data I deal with at work. 💪🏾
@Bhavik_Khatri
@Bhavik_Khatri 5 ай бұрын
Thank you for your time and consideration in providing this informative tutorial.
@ExcelOffTheGrid
@ExcelOffTheGrid 5 ай бұрын
Glad it was helpful! 👍
@joukenienhuis6888
@joukenienhuis6888 5 ай бұрын
Wow, thank you for explaining this so clearly in the right speed. I do not need it now, but I stored this technique for later.
@ExcelOffTheGrid
@ExcelOffTheGrid 5 ай бұрын
Great stuff. I'm sure it will come in useful at some point.
@Kuriacs
@Kuriacs 5 ай бұрын
You are awesome, this was a fascinating technique! Enjoyed watching.
@90hsilva
@90hsilva 5 ай бұрын
Great example I have exactly the same issue and didn’t know this way to solve it. Thank you very much
@DinoDelight
@DinoDelight 5 ай бұрын
Another fantastic video, with a great example!!! that LAMBDA functions looks like its worth exploring more as never dabbled with it
@ExcelOffTheGrid
@ExcelOffTheGrid 5 ай бұрын
LAMBDA is great for creating very flexible reporting. Maybe I should do a specific video about BYROW/LAMBDA. I think it might be useful.
@DinoDelight
@DinoDelight 5 ай бұрын
@ExcelOffTheGrid yeah definitely, it look quite scary/complicated so never attempted so I would definitely be interested in something like that
@michaels4929
@michaels4929 5 ай бұрын
​@@ExcelOffTheGrid definitely worth it. Would be interesting to explain why some functions won't work with byrow/lambdas too.
@chrism9037
@chrism9037 5 ай бұрын
Super video Mark, thank you
@ExcelOffTheGrid
@ExcelOffTheGrid 5 ай бұрын
Glad you enjoyed it 😁
@barttitulaerexcelbart9400
@barttitulaerexcelbart9400 5 ай бұрын
Great explanation Mark! I just hat a second look at Alberto Ferrari and Marco Russo's book: "Analyzing Data with Microsoft Power BI and Power Pivot for Excel". Chapter 5 is about SCD's but now I understand! thanks!
@delemtube
@delemtube 5 ай бұрын
This is a higher level of learning
@spen2431
@spen2431 5 ай бұрын
Awesome 💥💥
@ExcelOffTheGrid
@ExcelOffTheGrid 5 ай бұрын
Thank you! Cheers! 😁
@SURYADEEPRGOMES
@SURYADEEPRGOMES 5 ай бұрын
Hello, Amazed with your presentation in Power Query, just want to get acknowledged why two columns are selected while merging Query, utility of such process
@houstonsam6163
@houstonsam6163 5 ай бұрын
Brilliant presentation, both of the slowly changing dimension problem and of using byrow with lambda to create a spill. I manage operational data for a 220-odd strong corporate function, with active job dates extending back over 10 years and roughly a thousand assignments all told considering promotions, moves, new hires, transfers, retirements, etc. Rather than creating the merged table with a distinct date list for each assignment, I've used DAX formulations to generate a headcount for each date. Now that I understand your approach here it would be simpler, but the merged table which supports the grid calculations would be quite long. Are there any particular cautions in "scaling" your approach to much larger data sets?
@ExcelOffTheGrid
@ExcelOffTheGrid 5 ай бұрын
Try it, I think you will be surprised how quick it is. Your biggest issues is more likley to be how much data Excel can comfortably handle - 1000 rows and 120 months, is pushing 120,000 rows; so the formulas based on that data is more likely to struggle. If you have a lot of data, then you can use a similar same approach to create an alternative key for creating relationships in the data model.
@ironicdaemon
@ironicdaemon 5 ай бұрын
My tip of the day: MAP() is the same as BYROW() or BYCOL() if only a single column or row is selected respectively.
@ExcelOffTheGrid
@ExcelOffTheGrid 5 ай бұрын
Yes, that is true. But would you say that VLOOKUP is the same as INDEX/MATCH if the lookup value is in the first column? 🤔
@Paladin101
@Paladin101 3 ай бұрын
Does the new ‘Trimrange’ function overcome this (second part) of your challenge as well?
@ExcelOffTheGrid
@ExcelOffTheGrid 3 ай бұрын
I don't believe so - I don't think TRIMRANGE would help. But it does that would be great.
@ExcelWithChris
@ExcelWithChris 11 күн бұрын
Thanks for this one. But if you have for example 1000 products this lookup table will have more than 300 000 within a year? Isnt there a way where you can say if the date in transaction is A then use the lookup value between the before and after columns?
@ExcelOffTheGrid
@ExcelOffTheGrid 11 күн бұрын
Power Query does not have a data limit. The limit is when the final values hit Excel. So in your example, you won’t get that many records in the output. Therefore, the issue is the speed of Power Query. If you try it out you will be surprised how quickly it handles these transformations. If you are dealing with a lot of data then loading to Power Pivot remains the best options.
@ExcelWithChris
@ExcelWithChris 9 күн бұрын
@@ExcelOffTheGrid Thanks for this. The system I am looking at will be an Excel file where users capture basic sales data. They will input the number of items and then the file needs to do a basic vlookup/xlookup to return the cost. Now the issue is this cost value can change over time, and therefore the lookup table needs to be inside the file itself. And that is my issue with the table being to "BIG" in rows - even if the lookup table is generated using Power Query (it needs to be a table inside the file). It still needs to be inside the file to have "live" lookup as you type the numbers sold.
@mrbartuss1
@mrbartuss1 5 ай бұрын
3:25 I did it this way: = Table.AddColumn(#"Replaced Value", "Date", each { Number.From([Date From]) .. Number.From([Date To])}, type date) Which would be better and why?
@ExcelOffTheGrid
@ExcelOffTheGrid 5 ай бұрын
Yes, that will work too. I don’t think it makes much difference which method you use.
@alanmonaghan9194
@alanmonaghan9194 4 ай бұрын
Hi Mark Sorry to bring this up again, but I see you are also now displaying dates in US format instead of UK format. Is this a change you have made, or has there been a change in Power Query editor to default to US formatted dates all the time? I did a M365 repair plus a Win10 inline reinstall to fix this behavior previously, but now it is in US format every time I bring date data into PQE. Oddly, if I close and load the data reverts to UK format in the workbook. It isn't a deal breaker, but it is extremely frustrating having wrongly formatted dates. Anyone else having the same issue with this? Cheers, Alan
@ExcelOffTheGrid
@ExcelOffTheGrid 4 ай бұрын
I had the same issue as you for about 2 days; then I got an Office update which appeared to roll back to a previous version of Power Query, and it fixed the issue. So, I think it's definitely a bug, which has now been resolved. Check to see if you have an update to install.
@alanmonaghan9194
@alanmonaghan9194 4 ай бұрын
@@ExcelOffTheGrid Thanks Mark. I was beginning to think it was just my setup until I saw your video with US formatted dates. I'll check for updates later today. Cheers. Alan
@stanTrX
@stanTrX 5 ай бұрын
Didnt even understand the purpose 😊
@ExcelOffTheGrid
@ExcelOffTheGrid 5 ай бұрын
Rewatch the intro - it explains the purpose.
Automate reconciliations with Power Query | Excel Off The Grid
9:37
Excel Off The Grid
Рет қаралды 45 М.
She wanted to set me up #shorts by Tsuriki Show
0:56
Tsuriki Show
Рет қаралды 8 МЛН
🎈🎈🎈😲 #tiktok #shorts
0:28
Byungari 병아리언니
Рет қаралды 4,5 МЛН
Wednesday VS Enid: Who is The Best Mommy? #shorts
0:14
Troom Oki Toki
Рет қаралды 50 МЛН
Excel's dirty little secrets - 5 things it does you don't expect!
11:25
Excel Off The Grid
Рет қаралды 52 М.
DOUBLEXLOOKUP... the Excel function you've been waiting for!
12:29
Excel Off The Grid
Рет қаралды 30 М.
5 Conditional Formatting Hacks That Will Blow Your Mind
11:16
Mike’s F9 Finance
Рет қаралды 9 М.
STOP using nested IF statements! Use these functions instead.
8:57
Excel Off The Grid
Рет қаралды 22 М.
PivotTable Tricks That Will Change the Way You Excel (Free File)
17:47
MyOnlineTrainingHub
Рет қаралды 155 М.
10 awesome Power Query tricks you NEED to know! | Excel Off The Grid
15:44
Excel Off The Grid
Рет қаралды 54 М.
Power Query - Faster & Easier Parameters
13:38
BCTI
Рет қаралды 43 М.
Become a Data Analyst with Excel | 4-Week Plan
24:40
MyOnlineTrainingHub
Рет қаралды 35 М.
She wanted to set me up #shorts by Tsuriki Show
0:56
Tsuriki Show
Рет қаралды 8 МЛН