List.Accumulate Case Study in Power Query

Поделиться
HTML-код
  • Опубликовано: 21 янв 2025

Комментарии • 78

  • @GoodlyChandeep
    @GoodlyChandeep  11 месяцев назад +1

    Download the file ⬇ - goodly.co.in/dynamic-column-creation-power-query-list-accumulate
    List.Accumulate in Power Query with Practical Examples - ruclips.net/video/RIo4OrPixco/видео.htmlsi=VVxF51DSux0-3Wo4
    Tackle even the most challenging data cleaning problems. Check out the M Language course and push beyond the user interface. ↗- rb.gy/a2zsnn

    • @张生-r4f
      @张生-r4f 11 месяцев назад

      = Table.Group(表,"列1",{"分组",each _},0,(x,y)=>Number.From( List.Sum(List.Range(表[列1],List.PositionOf(表[列1],x),List.PositionOf(表[列1],y)-List.PositionOf(表[列1],x))) >9) )

    • @张生-r4f
      @张生-r4f 11 месяцев назад

      find out the mistake,please

  • @Lyriks_
    @Lyriks_ 10 месяцев назад +6

    Every body is praising chandeep for it's excel skill (which he deserves), but i can't help to outline, the quality of the video production, it looks like hollywood for excel geeks 🤓
    Good job man ! All the best for your course !

  • @wildecorrea6477
    @wildecorrea6477 5 месяцев назад +1

    The way you explained the video, first presenting the problem; then, the method, the function and, finally, the solution, was very good, very educational. I learn a lot from your videos! Success! Hi from Brasil 🇧🇷! God bless you!

  • @justapasserby69420
    @justapasserby69420 10 месяцев назад +1

    Dude you just saved me a week's worth of back and forth

  • @tremolony4924
    @tremolony4924 11 месяцев назад +2

    I love your videos bro. Most other people I see covering DAX or Power M have literally no idea what they are talking about. You are covering fundamental programming concepts & explaining them very well!!

  • @mnowako
    @mnowako 11 месяцев назад +2

    What a marvellous lesson! Thank you!

  • @whizzohk
    @whizzohk 11 месяцев назад +1

    Fantastic topic clearly explained! Just the type of thing I've been trying to do lately, not having any hard-coded column names anywhere in my code.

  • @SpokesAndWings
    @SpokesAndWings 8 месяцев назад

    Great video! Would have loved to find this a couple of weeks ago, but really glad to have the validation of the method! Great stuff in this channel!🎉

  • @ftmagicart
    @ftmagicart 11 месяцев назад

    Incredible demonstration Chandeep. Thank you very much.

  • @umesh2403
    @umesh2403 4 месяца назад

    Such a great way to sharing concept...yet not untill you do it by self does we realise how complicated it can be...learned another trick today...

  • @mightydrew1970
    @mightydrew1970 11 месяцев назад

    There are a lot of junk/useless tutorials on RUclips at the moment... with terrible use-cases and examples. I'm a new subscriber because you are providing INCREDIBLE content and actually useful examples of how to get the most out of PowerQuery/M - fantastic, well done, well presented!

  • @haihathanh5061
    @haihathanh5061 9 месяцев назад

    Your video is very helpful and understandable, you're a great tutor!

  • @ourlittlesmarties1188
    @ourlittlesmarties1188 11 месяцев назад

    This is so cool, Chandeep. You are the best teacher as always, thank you.

  • @raimundojs9547
    @raimundojs9547 11 месяцев назад +1

    Brilliant! Thank you so much for sharing!

  • @Maartenmarsje
    @Maartenmarsje 11 месяцев назад +2

    As always, I really like your videos. Thanks! In real life, I still prefer to use a DAX solution for solving this specific issue. The way I use List.Acumulate is to search a text column for a specific range of projectcodes. Problem stays that Text.Contains in combination with List.Acumulate is still a terrible slow solution. If you ever have a solution for searching a specific list of codes in a text column full of other text around the codes, let me know 😊.

    • @michaelmays9415
      @michaelmays9415 11 месяцев назад

      Is it slow because of List.Accumulate or Text.Contains?

  • @spen2431
    @spen2431 11 месяцев назад +4

    Mind blown 🤯

  • @mdsaleem123
    @mdsaleem123 11 месяцев назад

    you are real champ. Much appreciate your way of explanation.

  • @MichaelBrown-lw9kz
    @MichaelBrown-lw9kz 7 месяцев назад +1

    Wow. Power Query is amazing for data prep. How did you know about that Record.Field function? I am now comfortable with the fact that I will never know everything about Power Query. I'll always be learning something new in it. Unbelievable lesson.

    • @SeyPras.
      @SeyPras. 7 месяцев назад

      Saw a video from a while back when he used another function. I think it was List.Last(_ etc.. and got the value field.. Found Record.Field much more easier to execute this..Chandeep keeps evolving 🔥

  • @vinhwizard
    @vinhwizard 6 месяцев назад

    Useful but difficult. I must see many times to understand. Thank you

  • @emilmubarakshin49
    @emilmubarakshin49 11 месяцев назад

    Amazing lesson as usual!

  • @Harish.Prasad.Semwal
    @Harish.Prasad.Semwal 11 месяцев назад

    🙂Thnak you Chandeep Paaji for teaching us interesting topic

  • @KuldeepSingh-nq1vi
    @KuldeepSingh-nq1vi 11 месяцев назад +1

    You are awesome Bro.. 🎉🎉🎉

  • @megabuilds3007
    @megabuilds3007 11 месяцев назад

    Fantastic and Highly helpful. Thank you.

  • @terrylee2094
    @terrylee2094 11 месяцев назад

    Amazing knowledge pal. Thanks for sharing

  • @adrianoschwenkberg6773
    @adrianoschwenkberg6773 11 месяцев назад

    well done, Mr.

  • @baskis69
    @baskis69 11 месяцев назад

    Thank you very much for sharing ... this is super useful¡¡¡¡¡

  • @joselencinamalgor6548
    @joselencinamalgor6548 11 месяцев назад

    Wow. Very useful!

  • @BeHappii2
    @BeHappii2 11 месяцев назад

    I have an inquiry regarding setting up a logic in Power BI that allows users to select colours based on Excel input data, affecting the colour of column headers in a dynamic fashion. The idea is for the system to recognise numerical inputs - with '1' representing green, '2' signifying blue, and '3' indicating red - and to modify the column header colour accordingly. The dataset is updated on a monthly basis, which calls for a logic where changes made in Excel are seamlessly integrated and mirrored in Power BI. My focus is solely on columns, as my column tables don't include rows. Despite the unique nature of this user requirement, which has kept me puzzled for nearly a week, I'm reaching out to see if you could provide guidance or solution. Thanks

  • @Bhavik_Khatri
    @Bhavik_Khatri 11 месяцев назад

    Very nice tutorial

  • @patrickharilantoraherinjat2994
    @patrickharilantoraherinjat2994 11 месяцев назад

    Great video bro!

  • @rrrraaaacccc80
    @rrrraaaacccc80 11 месяцев назад

    Great 💯👍

  • @Luciano_mp
    @Luciano_mp 11 месяцев назад

    Congratulations! Thank you.

  • @Nalaka-Wanniarachchi
    @Nalaka-Wanniarachchi 11 месяцев назад

    Super Awesome !!!

  • @willgsil
    @willgsil 11 месяцев назад

    Absolute cinema!

  • @shreyansjain9276
    @shreyansjain9276 11 месяцев назад

    Hi Chandeep. By any chance if you can reply if there is a way through which I can dynamicallh make sure to get latest 2 year of data in Incremental Refresh... In short how to make the parameters dynamic In power Query?

  • @jkumar8590
    @jkumar8590 11 месяцев назад

    High speed lecture!

  • @basvanderlaan7568
    @basvanderlaan7568 9 месяцев назад +1

    This is so awesome. But how would you go about if you want to subtract the new column from the previous column? For example; instead of COGS, HR, etc. you have: balance jan, balance feb, balance march, etc and you want to calculate the change that happened within each month?

    • @alesranzinger7150
      @alesranzinger7150 28 дней назад

      I would unpivot month columns. Then add two index col.first starting from 1 the other from 0. Split query and then join them based on Index numbers.

  • @muhakbar4958
    @muhakbar4958 7 месяцев назад

    This awesome function, I have make Crossjoin with multiple table using this

  • @JJ_TheGreat
    @JJ_TheGreat 11 месяцев назад

    7:10 But what if more columns are added to the front - meaning that the number of columns which you have to skip would change?

  • @SriramM289
    @SriramM289 11 месяцев назад

    Hi Chandeep. I have a column having 4 different values. I would like to replace any of the 4 different values with a value "FAST". Can you please suggest the best solution in power query?

  • @fidzanikilibe9066
    @fidzanikilibe9066 10 месяцев назад

    wow this is awesome,

  • @isidreb
    @isidreb 11 месяцев назад

    Thanks. 3 "accumulated" times awesome

  • @JCC.M.
    @JCC.M. 11 месяцев назад

    Chandeep, using this could you insert a column directly into the excel table and expect it to work, or would you have to add the column in Power Query?

  • @krisssh0097
    @krisssh0097 11 месяцев назад

    Awesome 👍

  • @bob-tina
    @bob-tina 11 месяцев назад

    Goede uitleg hoor! Ik ben hier wel eens mee bezig geweest en wilde verschillende datatypes toe te voegen. Maar dat is me niet gelukt. Heb je daar misschien een suggestie voor?

  • @juancarlosleytonfernandez9146
    @juancarlosleytonfernandez9146 11 месяцев назад

    amazing!

  • @lillibrica4824
    @lillibrica4824 11 месяцев назад

    Vers helpful!

  • @Excelvenky
    @Excelvenky 11 месяцев назад

    Great Video... can i set the number formats dynamically using mcode..instance, used percent.type in video, got the percent but not the % symbol with it...should i need to concatenate with this.. thanks in advance your guidance

    • @GoodlyChandeep
      @GoodlyChandeep  11 месяцев назад +1

      Percentage doesn't apply in PQ. I think it is a bug.

  • @williamarthur4801
    @williamarthur4801 11 месяцев назад +1

    I think you really like List.Accer, as do I, also anything to do with records is really useful,
    BTW, i don't know if you saw message re dynamic data types and this construction,
    Value.ReplaceType( Table_non_correctTypes,
    Value.Type( DataTypes) )
    Where DataTypes is a table or previous step with the correct types, still not sur how it works.

  • @ПавелЛинев-ч7м
    @ПавелЛинев-ч7м 8 месяцев назад

    Спасибо за видео. Хороший кейс. Чего, отопление вырубили?

  • @danishnawaz3651
    @danishnawaz3651 11 месяцев назад +1

    Awsom Sir, Kindly make a video for below.
    If we have nested Table in a single column (while Grouping) and each Table has multiple column inside it. like as below.
    1 Table has 10 column
    2 Table has 12 column
    3 Table has 8 column
    Then how can we make equal all number of column for All Tables. (Like 12 column for each table by inserting new null column).

  • @ExcelWithChris
    @ExcelWithChris 11 месяцев назад

    Yip is is AWESOME!!

  • @dacsontran5813
    @dacsontran5813 7 месяцев назад

    Can i use that method to insert multiple rows using Table.InsertRows?!

  • @davejl8982
    @davejl8982 11 месяцев назад

    Hi Chandeep, great video. One question though..for this to take into effect in pbi (dynamic column addition), this would require a schema update which could only be achieved by having the refresh done on pbi desktop rite? It will not work when we are doing the refresh via pbi online, rite?

  • @mienzillaz
    @mienzillaz 11 месяцев назад

    I knew it and i was using it, but in my case a was passing separate instructions to each column. Unfortunately i had to hardcode it, as i have no clue how to pass dynamically these instructions..

  • @oscararmandocisnerosruvalc8503
    @oscararmandocisnerosruvalc8503 11 месяцев назад

    What is the a for if we are only using current ??

  • @shwetkumar1719
    @shwetkumar1719 5 месяцев назад

    Can we do upsert in power query

  • @SamehRSameh
    @SamehRSameh 2 месяца назад

    How can i substract value from first row and remaining value substract from second row

  • @bulbulahmed3098
    @bulbulahmed3098 11 месяцев назад

    Great

  • @Rice0987
    @Rice0987 11 месяцев назад

    I think now you can make tutorials about video fx.😊

  • @xcorect
    @xcorect 11 месяцев назад

    Awesome

  • @tob-robt
    @tob-robt 11 месяцев назад

    Hello, thank you very much for your videos, they are very interesting. I've been trying to search your channel for something that helps me calculate what I'm trying to calculate for days.
    In my case I have something like this, in the same column:
    Row A1 = (POWER(1+Forward_Speed,-1))
    Row A2 = A1 * (POWER(1+Forward_Speed,-1))
    Row A3 = A2 * (POWER(1+Forward_Speed,-1))
    Row A4 = A3 * (POWER(1+Forward_Speed,-1))
    …and so on in the same column that has 930 records.
    I've been trying to replicate this in Power BI for days, creating several variables, making conditionals with them, etc., but I'm not able to reach the same result that I calculated by doing this in Excel.
    Do you have a video that can explain more or less what I'm trying to do? Or could you make one that shows how to do it?
    Thank you so much

  • @RobertoStaltari
    @RobertoStaltari 11 месяцев назад +1

    Debugging this code using function, along with List.Generate, can be a real challenge without a proper code editor and dubegguer. Unfortunately, it seems Microsoft isn't paying attention to the frustrations of M coders.

  • @thebhaskarjoshi
    @thebhaskarjoshi 11 месяцев назад +1

    Just revised List.Accumulate Function through a new case study.

  • @jafarhussain6606
    @jafarhussain6606 11 месяцев назад

    1. Can we execute such scenario using DAX?
    2. Can you please use inventory projection or rolling forward scenario either in DAX or M code?
    No one explaining such real world problems.

  • @garylhaas2005
    @garylhaas2005 11 месяцев назад

    List.Accumulate confuses me - but this example is close to turning on the light bulb for me

  • @eslamfahmy87
    @eslamfahmy87 4 месяца назад

    I can't understand the logic of this fourmala even i saw the recomended video which highlited could you repeat on another video

  • @macbelwoldie6201
    @macbelwoldie6201 10 месяцев назад

    What if the DummyExpense column had a list of numbers like 20, 46, 54 etc,
    You just assumed all the values were 20 😅

  • @johanwillemsen790
    @johanwillemsen790 10 месяцев назад

    Briljant

  • @nariroeplal1553
    @nariroeplal1553 11 месяцев назад

    Well explained but way too complex for me to understand or grasp it😪🥲