Тёмный

Power Query: Avoiding naming column headers to avoid breaks 

David Benaim
Подписаться 16 тыс.
Просмотров 23 тыс.
50% 1

Опубликовано:

 

5 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 51   
@gborka
@gborka 3 года назад
Hot topic. Thanks a lot. Avoid all this endless columns headers referencing is a big deal. Keep going you doing a great job.
@learnspreadsheets
@learnspreadsheets 3 года назад
Thanks man! This was a monster video to make ❤️
@syrophenikan
@syrophenikan Год назад
FANTASTIC! I'm going to now practice this on my data to refine it until it's a muscle memory. Great tactic!!!
@learnspreadsheets
@learnspreadsheets Год назад
Yes! It takes a while but totally worth it!
@tomhaase1386
@tomhaase1386 4 месяца назад
I have seen some other solutions, but your was great. I subscribed your channel now. ❤
@learnspreadsheets
@learnspreadsheets 4 месяца назад
That’s so nice to read! Yes when I took the time to learn the process combining ideas I made this video so whenever I need to remember it I go back to the video 😃
@franciscocardenas4499
@franciscocardenas4499 2 года назад
Great. I've been dealing with this for some time. Thanks to you I can optimize mi files! Great job!
@learnspreadsheets
@learnspreadsheets 2 года назад
Glad you find it useful 🙃
@Eternal_Stone
@Eternal_Stone Год назад
Awesome tutorial - great work around and excellently explained
@learnspreadsheets
@learnspreadsheets Год назад
That’s so kind! Thanks so much 😃
@contabilidad_del_futuro
@contabilidad_del_futuro 2 года назад
Great tips, thanks Dave. Could you suggest a video to classify the text based on some keywords from another table? For example, the sentence is "grocery expense", the query finds the word "grocery" and classifies "1 food expense". Another statement "electricity bill" and classify electricity as "household expense." And so.
@learnspreadsheets
@learnspreadsheets 2 года назад
Hey, thanks for the feedback. Here are some of mind you can try: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-WHxKvHSyWcs.html ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-J8jqspcAxDA.html and ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-9YHAZ8B1Aew.html but unsure if they will do exactly as you request
@cristiancifuentes4149
@cristiancifuentes4149 Год назад
Great tips! I started using PowerQuery and your tutorial was very helpful. Any chance you could send me the custom code?
@learnspreadsheets
@learnspreadsheets Год назад
Thanks Cristian. I am offering the files for my newer videos here www.xlconsulting-asia.com/youtube-files.html but unfortunately some of my older videos I wasn’t doing that for so if you can’t find that specific file maybe some others may be helpful there
@ScottKeene70
@ScottKeene70 3 года назад
Thanks! Lot's of very useful tips here. I don't quite understand what's going on in the sorting hack at 04:30 - Reorder. (EDIT - I missed the "Transpose" step!) (You did inspire me to play around with Column From Examples and find some really quick ways to do transformations though!)
@learnspreadsheets
@learnspreadsheets 3 года назад
Thanks for the feedback! Yeah I love these tricks 🙃. Col by examples has many use cases!!
@lgendwila
@lgendwila 2 года назад
This is incredibly helpful. Thank you so much for sharing!
@learnspreadsheets
@learnspreadsheets 2 года назад
Glad you like it!
@CorneTraa
@CorneTraa 2 года назад
Thanks David this looks great. Could you transfer the workbook you used in the video?
@learnspreadsheets
@learnspreadsheets 2 года назад
Thanks, unfortunately I don’t have that file I have some from my newer videos but not this one
@theoriginalinvisible
@theoriginalinvisible 3 года назад
Really nice David, thanks!
@learnspreadsheets
@learnspreadsheets 3 года назад
Glad you liked it
@cesartozzi
@cesartozzi 3 года назад
Thank you very much David. It really helped me.
@learnspreadsheets
@learnspreadsheets 3 года назад
You are welcome!
@markbaxter1309
@markbaxter1309 2 года назад
Hi David, really REALLY useful video. I have been trying to find a solution to this type of issue for ages. You mention in the video that you can send a copy of the file if needed. How can I get a copy? - Thanks again.
@learnspreadsheets
@learnspreadsheets 2 года назад
Heya! Glad you like it! Subscribe to my channel then email me & I’ll try to hunt it down! David@xlconsulting-asia.com
@arunachaleswaran
@arunachaleswaran 2 года назад
Nice!!!!!!!!!!!!!!!!! ... I was looking for this only .. Thanks much.. WIll it work for scenarios where the rows are like 300k ?
@arunachaleswaran
@arunachaleswaran 2 года назад
I got the reply too!!!! Thanks
@learnspreadsheets
@learnspreadsheets 2 года назад
Great! It should work with many rows yes!
@gregsmith2547
@gregsmith2547 9 месяцев назад
Will this do anything for increasing refresh speed?
@learnspreadsheets
@learnspreadsheets 9 месяцев назад
This adds more steps so it may show down refreshing sadly, but its really a case by case basis
@FRANKWHITE1996
@FRANKWHITE1996 Год назад
subscribed! 🙌
@learnspreadsheets
@learnspreadsheets Год назад
Thanksss, hope you find my content useful!
@omirek2
@omirek2 Год назад
Is there any hack for Group By? I need to make sum across all the columns, grouped by specific column. I have all setup without column references, but this is where I'm getting stuck.
@learnspreadsheets
@learnspreadsheets Год назад
Hmm group by is for rows not columns, maybe you could transpose first & then group by? It’s hard to understand exactly what you need through a short message sorry
@omirek2
@omirek2 Год назад
@@learnspreadsheets Thanks for responding. I mean I'm trying to aggregate rows, yeah - but basically in each column except one. That's why I said all "columns". I can't get away without referencing column names. Maybe there's a way to reference a column by index?
@mtstans
@mtstans 3 года назад
OMG THANK YOU SO MUCH!
@emilenescheepers8089
@emilenescheepers8089 2 года назад
Such a useful video thanks! Learning something new every day in PQ Just have one question, if I format my column (like what you did at 3mins into the video), it creates a new column on my side instead of amending the current column I selected. How can I change this?
@emilenescheepers8089
@emilenescheepers8089 2 года назад
I did this workaround in one step thats fine but just wondering why it was creating new columns for every format = Table.TransformColumns(Table.TransformColumns(TransposedTable,{{"Column1", Text.Trim, type text}}),{{"Column1", Text.Proper, type text}})
@learnspreadsheets
@learnspreadsheets 2 года назад
Heya! So there’s a transform tab and an add column tab. Many commands exist in both but they differ in that regard. The first one will change it in place, the latter will add a new column. The code is different too as you spotted
@mireyamorales9334
@mireyamorales9334 2 года назад
Genius!
@learnspreadsheets
@learnspreadsheets 2 года назад
Glad you like it!
@leemarkin
@leemarkin 2 года назад
Dear sir, I have a set of data that don't have headers, I load it to power query and pq automatically read it as header and change it if have same value (eg. 100%2, 100%3), even I demote it in samples I still can't avoid it, any idea?
@learnspreadsheets
@learnspreadsheets 2 года назад
Power query sometimes automatically promotes headers, this will be a step in your query pane on the right, click the x to delete that step called “promoted headers” and maybe another one that says “changes data type”, if that doesn’t work try this if your dataset is from the same excel workbook. Excel may try to make your data into a table first & load those headers before launching power query. To avoid this don’t use the table & use a named range instead by selecting the relevant rows & columns then type a name in the name box in the top right (in native excel not power query)
@MrHhubi
@MrHhubi Год назад
Chaotic recording
@learnspreadsheets
@learnspreadsheets Год назад
Thanks for the comment but sorry you feel that way, it’s aimed at those with quite a lot of power query experience already
@zxccxz164
@zxccxz164 2 года назад
This is great, but what i am dying to know is: How can i hover over a COLUMN HEADER and show the Description in of the field from the meta data. Or some other longer description. ie Think baseball....column header (field name) ERA, hover and show Earned Run Average OR Store EARNED RUN AVERAGE as the field name, somehow have a NAME ALT of field as ERA. Be able to show ERA as column header and Earned Run Average as hover over. This is SOOOOOO important to keep good descriptive name conventions AND conserving precious space on the canvas
@learnspreadsheets
@learnspreadsheets 2 года назад
Hey power query doesn’t let you store metadata about a column unfortunately, you can store that info in a separate table perhaps?
@zxccxz164
@zxccxz164 2 года назад
@@learnspreadsheets there is the description property (also in SSAS tab model), but you can't access it. (or at least in 5 years i have seen no one access it. I suppose you could store in separate table. But still no real way to use it (easily) Some how you can pop up tool tip table, but filtering to the metadata would be difficult?? So annoying that i am wasting thanksgiving wondering why no one else finds this irritating. Oh that and you can't turn on Bookmarks by default in Power BI Report Server.
@Bhavik_Khatri
@Bhavik_Khatri 2 года назад
Could you please email a copy of this file?
@learnspreadsheets
@learnspreadsheets 2 года назад
It’s been a a while but email me & I’ll seee if I can find it. David@xlconsulting-asia.com
Далее
Power Query - Avoid "Helper Queries" (+10 Cool Tricks)
18:40
Transform Column Names in Bulk in Power Query
19:23
Просмотров 35 тыс.
Promote Double Headers in Power Query | Solution
17:02
Power query errors: Detect, prevent & fix them
16:39
Просмотров 58 тыс.
How to Move Data Automatically Between Excel Files
11:37