No video

Advanced Concatenate/ Merge columns with Power Query

  Рет қаралды 95,331

Curbal

Curbal

Күн бұрын

Пікірлер: 91
@novak2033
@novak2033 3 жыл бұрын
Hi Ruth, did you check the effect on query folding? In my experience “Merge columns” broke it, whereas Excel-style concatenation was passed on to an SQL server.
@CurbalEN
@CurbalEN 3 жыл бұрын
Aha, that I havent tested. The M function used is not the same as the Right click 》 merge, so fingers crossed it doesn't break? Let us know if you test it!
@ferdinandsantos6680
@ferdinandsantos6680 3 жыл бұрын
Thanks for sharing Ruth! Always learning new things from you.👍🏼 Just want to point out a difference between the two methods. The second method omits the leading comma in row 5 (Bike,8). This will matter when the merged column is split back into columns as Bike will end up in the first column. So the choice between the two methods depends on what the merged column will be used for subsequently.
@CurbalEN
@CurbalEN 3 жыл бұрын
You can add that manually if needed and replicate the first method exactly 😊
@ThGrum
@ThGrum 3 ай бұрын
Exactly what I was looking for. Thank you so much 👋
@thomasivarsson2468
@thomasivarsson2468 3 жыл бұрын
Null is a nonexisting value so it cannot have a data type. Concat Null yeilds Null is the default in databases. I did not know the trick of merge on 3 different columns. Great!
@CurbalEN
@CurbalEN 3 жыл бұрын
Thanks Thomas, that explains it :)
@jayraldtajale8121
@jayraldtajale8121 9 ай бұрын
Thank you for sharing this I already concatenated the columns regardless if there’s a null values.
@guillermochavez7275
@guillermochavez7275 3 жыл бұрын
Nunca dejes de compartir tus videos de trucos con PQ, los amamos. Gracias.
@CurbalEN
@CurbalEN 3 жыл бұрын
Si, no te preocupes. Siempre que aprenda un truco nuevo lo mostrare aqui :)
@mgvivi
@mgvivi 3 жыл бұрын
Hi, i not speak english, but i like your video, is amazing. Thanks a lot. Me ayuda mucho con mi trabajo. Saludos de Perú
@CurbalEN
@CurbalEN 3 жыл бұрын
Me alegra oirlo :)
@sebastiencrepel5032
@sebastiencrepel5032 Жыл бұрын
Hello Ruth. Your channel is a real gold mine ! Thank you for all this valuable work.
@CurbalEN
@CurbalEN Жыл бұрын
Thanks 🥳
@gabrielpugas
@gabrielpugas 7 ай бұрын
Perfect presentation! Thank you
@shaddwatson1833
@shaddwatson1833 2 жыл бұрын
Hello Ruth, your videos have helped me professionally numerous times and for that I would like to thank for all you do! Keep up the great work.
@CurbalEN
@CurbalEN 2 жыл бұрын
And thanks for the feedback!!
@elisafolletti5060
@elisafolletti5060 3 жыл бұрын
Thanks Ruth. It seems that the result of merge and that of combine are not completely the same; in the first case ",Bike,8" in the second "Bike,8"
@CurbalEN
@CurbalEN 3 жыл бұрын
You can fix that adding the , manually :)
@AlvaroPerez-ox7ul
@AlvaroPerez-ox7ul 2 жыл бұрын
Best channel on this so far.
@CurbalEN
@CurbalEN 2 жыл бұрын
Thanks!
@philipkimani1262
@philipkimani1262 Жыл бұрын
Thank you so much for sharing this knowledge. It worked with my data.
@fabienperon3065
@fabienperon3065 2 жыл бұрын
hi thanks. How to merge columns when we ignore numbers ok column ?
@NicoChin
@NicoChin 4 ай бұрын
Thank you verry much
@akshitmehta2680
@akshitmehta2680 Жыл бұрын
Hi Ruth, I need to do the same but with numbers instead. I have two columns with numbers and I need to combine and add numbers from both columns to the new added column :( can't figure it out
@jensnystrom8250
@jensnystrom8250 Жыл бұрын
Hej Ruth! If I have multiple columns like the "Custom" in your video here but I want to split them out? I have column 1-5 that have a kg &value merged that represents scales but now want to split column 1-5 out to 1 - KG & 1 Value, 2 - KG & 2 - Value - any idea of how to do this? Split columns can be used obvs but generates multiple steps - is there a way to do it in one?
@jayasreecarey7843
@jayasreecarey7843 2 жыл бұрын
Thanks a lot ! was looking for the exact requirement
@adityasinha5167
@adityasinha5167 3 жыл бұрын
Thanks for the video! it solved the problem :). Do you have a way to add images into tabular from Excel directly or images stored locally
@norbertschmidt6532
@norbertschmidt6532 3 жыл бұрын
Dear Curbal or should I say Ruth, please tell me. Thanks for the video. GREAT. I didn't know before. Hope to see more of your videos.
@CurbalEN
@CurbalEN 3 жыл бұрын
Hi Norbert, Curbal is me, so either works and glad it was useful!
@mehdihammadi6145
@mehdihammadi6145 3 жыл бұрын
Thanks for the reminder Ruth, as always simple and efficient
@CurbalEN
@CurbalEN 3 жыл бұрын
I too have to remind myself to stay away from &... Habits die hard!
@abhishekstatus_7
@abhishekstatus_7 3 жыл бұрын
Thanks for sharing this Ruth !! Really amazing concept !!
@navzme
@navzme 3 жыл бұрын
Perfect. Exactly what I was looking for. Thanks
@CurbalEN
@CurbalEN 3 жыл бұрын
🥳
@googlegoogle-gg3dp
@googlegoogle-gg3dp 11 ай бұрын
I have 1 m record on which I want to apply group by to get max value of each category and then same value should reflect against each category in separate custom column.....I tried it but it will take almost 2 hours and eventually system hanged....any suggestions pls
@irinasultani4525
@irinasultani4525 2 жыл бұрын
Big thank you !
@alterchannel2501
@alterchannel2501 Жыл бұрын
thank you so much for this
@Unbox747
@Unbox747 3 жыл бұрын
Nice, short and sweet!
@CurbalEN
@CurbalEN 3 жыл бұрын
That is how we like it :)
@godfreykiggundu7787
@godfreykiggundu7787 Жыл бұрын
Wow!!! Wonderful
@xodrinker
@xodrinker 3 жыл бұрын
Highly educational. Thx Ruth 👍
@CurbalEN
@CurbalEN 3 жыл бұрын
Perfect!
@Jugulator31
@Jugulator31 3 жыл бұрын
This solved my problem - thanks Curbal! Your channel is amazing ;)
@CurbalEN
@CurbalEN 3 жыл бұрын
Wonderful to hear!
@Bluesun0714
@Bluesun0714 2 жыл бұрын
Thank you for sharing the great tips.
@dinoroy8962
@dinoroy8962 Жыл бұрын
so nice, thank you...
@MrSpiritUAll
@MrSpiritUAll 3 жыл бұрын
Nice midweek vlog❤️. See you friday🥂
@CurbalEN
@CurbalEN 3 жыл бұрын
With another DAX Fridays!! 😀
@indykoncepts2878
@indykoncepts2878 9 ай бұрын
Thank you 🙏
@paspuggie48
@paspuggie48 3 жыл бұрын
Now I know 😀. Cracking solution again Ruth 👏👍
@CurbalEN
@CurbalEN 3 жыл бұрын
Thanks Paul :)
@txreal2
@txreal2 2 жыл бұрын
Thanks for the video. I've been struggling to find a way to concatenate parts of 3 columns to create a primary key in PQ. For ex: first 4 of Last Name, first 4 of First Name, and DOB. Any help is appreciated.
@RonoyPaul
@RonoyPaul 2 жыл бұрын
Great thankful 🤗
@mahathmasadineni2884
@mahathmasadineni2884 3 жыл бұрын
I have a question here if you see last rows when there is some blank rows or nulls are not coming properly do have any vedio to solve the issue
@CurbalEN
@CurbalEN 3 жыл бұрын
It depends on what your business logic is. Post some sample data in the power bi community to get personalized help
@mahathmasadineni2884
@mahathmasadineni2884 3 жыл бұрын
@@CurbalEN thank you for your response. I will watch every day 2 vedios of you to learn a something new. Great job madam. Keep it up.
@CurbalEN
@CurbalEN 3 жыл бұрын
Then soon you will know as much as I do :)
@Milhouse77BS
@Milhouse77BS 3 жыл бұрын
3:25 I notice same problem with nulls involved in date calculations. I try to convert nulls to zero or empty string if use in adding a column.
@CurbalEN
@CurbalEN 3 жыл бұрын
I have been dealing with dynamic tables where I dont know how many columns will load so I need to avoid hardcoding column names. This quick trick does it:)
@vineetyoutubr5
@vineetyoutubr5 3 жыл бұрын
Really helpful. thanks, Ruth
@apurvamaheshwari8025
@apurvamaheshwari8025 3 жыл бұрын
Hi Ruth Please help me urgently , I created a calculated column in one table but the same isn't appearing when I'm trying to merge it as query to another table. How to resolve this?
@dianayang-manzana7712
@dianayang-manzana7712 3 жыл бұрын
Hi Ruth, I've been watching loads of your vides and find them very easy to follow. Thank you! I am hoping you can help me with the following : I have a headcount data set with over 30,000 recorded for both employees and contractors combined. There are HQ County, HQ State, Work County and Work State in the dataset. I used what you shown to combine HQ County + HQ State and Work County +Work State as 2 new columns. But Power BI ended up freeze when I used the Flow Map which I think it's due to record numbers. Any suggestion on how to approach this for Mapping? Will it work if I create another table with only HQ/Work data and link to the original data ( like in another of your video) and use it for Map? Please help~ thank you~~
@FirmanMaulanaAditya
@FirmanMaulanaAditya 3 жыл бұрын
[Expression.Error] We cannot apply operator & to types Text and Number. can you help me? i got error like this, i've been change duplicate date to number but i just got like that
@FirmanMaulanaAditya
@FirmanMaulanaAditya 3 жыл бұрын
i used automatic not manual merge column
@simonferns9487
@simonferns9487 3 жыл бұрын
How do I concatenate 2 number values into one column? (Without deleting the original ones - NOT merge). I always get the null error
@simonferns9487
@simonferns9487 3 жыл бұрын
Let’s say: 3078 and 2020. The desired value is 30782020
@haydeemera6631
@haydeemera6631 3 жыл бұрын
Thanks Ruth.
@dannyhometown
@dannyhometown 3 жыл бұрын
Thanks Ruth, Good one Text.Combine. Marked. :P
@CurbalEN
@CurbalEN 3 жыл бұрын
Saving me from a lot of trouble lately :)
@raheem0046
@raheem0046 Жыл бұрын
Item5: result should have been ",Bike,8" instead your results were"Bike,8" which is still not correct. I may be wrong, correct me if am
@mariaalcala5159
@mariaalcala5159 3 жыл бұрын
Thank you very much! I was wondering if you could use this function to create CSV files. With macros you need to do a lot of looping. Would it be possible?
@StefanoVerugi
@StefanoVerugi 2 жыл бұрын
sort of alternative to the methods shown here you could merge the row into a record, convert it to list and combine values with a comma I tried with a simple table and it correctly put all the "," as separator,to avoid type error before adding the column format all columns as text = Table.AddColumn(#"Previous step/query", "Custom", each Text.Combine(Record.ToList(_),",")) once you export it to Excel as a table, you can use the 'Text to Columns' option in data tools and save it in CSV format PS if you have null values select columns and use Replace Values in Transform (null to empty cell) before hope it helps
@diegolozano2397
@diegolozano2397 2 жыл бұрын
thanks a lot
@IlariaLongoDorni
@IlariaLongoDorni 3 жыл бұрын
Thanks for suggestion
@suryasahoo3771
@suryasahoo3771 3 жыл бұрын
Thanks Ruth
@bandipragnyank2038
@bandipragnyank2038 Ай бұрын
This is a complex process
@ringovski1980
@ringovski1980 3 жыл бұрын
Null is a column of unknown data type, a blank column is a empty string or other type.
@CurbalEN
@CurbalEN 3 жыл бұрын
Thanks!
@MrDhunpagla
@MrDhunpagla 3 жыл бұрын
It is wonderful 😇😇😇😇 Thanks
@CurbalEN
@CurbalEN 3 жыл бұрын
It is once you get the habit to use it:)
@erickadx8269
@erickadx8269 3 жыл бұрын
Gracias!
@Acheiropoietos
@Acheiropoietos 3 жыл бұрын
So&" "&helpful&", "&thank&" "&you&"."&"
@CurbalEN
@CurbalEN 3 жыл бұрын
😊😊
@totvabe1
@totvabe1 3 жыл бұрын
Missing your forest environment … 😥
@CurbalEN
@CurbalEN 3 жыл бұрын
Going up there next weekend, will do some intros outside again:)
@fxsignal1830
@fxsignal1830 3 жыл бұрын
hey Ruth, would you like get married with an italian Data scientist? :)
@CurbalEN
@CurbalEN 3 жыл бұрын
Imagine the table conversations! 🤓🤓
@fxsignal1830
@fxsignal1830 3 жыл бұрын
@@CurbalEN ha ha 😂
@sassouusasoo3607
@sassouusasoo3607 2 жыл бұрын
It's hard to understand you.
@CurbalEN
@CurbalEN 2 жыл бұрын
:(
Power Query MERGE Challenge Solution - DUPLICATES Alert
15:12
Access Analytic
Рет қаралды 22 М.
Мы сделали гигантские сухарики!  #большаяеда
00:44
Magic or …? 😱 reveal video on profile 🫢
00:14
Andrey Grechka
Рет қаралды 53 МЛН
Oh No! My Doll Fell In The Dirt🤧💩
00:17
ToolTastic
Рет қаралды 13 МЛН
Advanced Group By Tricks in Power Query
14:37
Goodly
Рет қаралды 92 М.
How to conditional merge tables in Power Query
7:32
Curbal
Рет қаралды 55 М.
Convert Multiple Column Groups to Rows in Power Query
17:18
Мы сделали гигантские сухарики!  #большаяеда
00:44