The IN Operator in Power Query
10:16
2 жыл бұрын
Пікірлер
@davidwalker575
@davidwalker575 14 сағат бұрын
Just in case it helps anyone, if column has any null values in it, you will need to change that last line to Replacer.ReplaceValue from Replacer.ReplaceText otherwise it won't change the nulls
@fungsweewong3774
@fungsweewong3774 2 күн бұрын
Why when I add a month name using this function = Table.AddColumn(#"Added Custom4", "Month Name", each Date.ToText([DateKey],"MMM")), it returns short month name like....Jan, Feb, Mar etc. but for the month of September, it returns Sept iso Sep? Was it suppose to work in this way?
@VikasKumar-vo6wo
@VikasKumar-vo6wo 4 күн бұрын
Fiscal week number
@jackylow86
@jackylow86 7 күн бұрын
Awesome. Although too technical for me now but I think this will be useful especially when doing monthly reporting and probably with checking conditions as well. Thanks.
@DataAnalyticsSolutionUK
@DataAnalyticsSolutionUK 9 күн бұрын
Thanks for this video tutorial! I wonder how to work with non Date value in the slicer such as dynamically selecting actual latest value instead of just displaying default? I couldn't find a workaround to that 😞
@gregoryoliveira8358
@gregoryoliveira8358 9 күн бұрын
Great. I did know that the table schema was optional. This solve my problem! Thanks!
@masgitz
@masgitz 12 күн бұрын
Great video, thank you. I have difficulty using filtering in calculate when I'm trying to use another measure as the condition.
@mdhruv1
@mdhruv1 14 күн бұрын
Would be alos nice for you to show the t52 calendar for week and period (month ) as an example
@gitgosc7075
@gitgosc7075 14 күн бұрын
this saved me! Absolutely gold!
@gitgosc7075
@gitgosc7075 14 күн бұрын
best channel about M, thanks!
@LeslieGarcia-i5j
@LeslieGarcia-i5j 19 күн бұрын
Just spent 3hrs trying to figure this out, came across your video and 5 mins later I figured it out! I just added the rounddown to function. Thank you!
@PaulLucassen
@PaulLucassen 20 күн бұрын
Better late than …….., just a solution I needed today. Thanks.
@MrSwingawayBaseball
@MrSwingawayBaseball 20 күн бұрын
Is it possible to show a video that uses a mass filter to drop a list of part and have it search a column for wild card searches that contain the value ie taking out syntax like /,-….. How do you link it back to the list of values dropped in the mass filter?
@mateuszopryszek4777
@mateuszopryszek4777 21 күн бұрын
Liked, subscribed. Helped me a lot :)
@SimonDick-t4o
@SimonDick-t4o 22 күн бұрын
Very good video! I have USDT in my OKX wallet and I have my recovery phrase. 【pride】【pole】【obtain】【together】【second】【when】【future】【mask】【review】【nature】【potato】【bulb】 How do I transfer them to Binance?
@fabmazzolini
@fabmazzolini 23 күн бұрын
Thank you for the tip! Very useful when you start PowerBi with Power Query like me!!
@silver-wp7ky
@silver-wp7ky 24 күн бұрын
thnx! Could you make a video about how to handle data when there are empty cells, for example, missing dates, prices, names, emails, phone numbers, etc.? How could I fill or manage them?
@cewlac
@cewlac 24 күн бұрын
Would it not be sufficient in your case, to simply add a duration of 1 hour? = DateTime.LocalNow() + #duration(0,1,0,0)
@garsteamaxim6621
@garsteamaxim6621 24 күн бұрын
Hello Rick, i wanna purchase your book, but wanna know one think, if the 'Paperback' version contain also an PDF? i wanna have your book in my colection , but for daily use PDF one, cant find where to put my question on Amazon
@BIGorilla
@BIGorilla 24 күн бұрын
Hi there. The printed book contains instructions how you can get a digital version for free with packt. I recommend getting print so you have both available. Hope that helps! Rick
@garsteamaxim6621
@garsteamaxim6621 23 күн бұрын
@@BIGorilla Thx, will enjoy to read this one, good luck in next journey
@cewlac
@cewlac 24 күн бұрын
Both Ireland and the Netherlands observe DST. During summer, Ireland is GMT and the Netherlands is GMT+1. During winter, Ireland is GMT+1 and the Netherlands is GMT+2. So the time difference between Ireland and the Netherlands is ALWAYS 1 hour, i.e. the Netherlands is always 1 hour ahead of Ireland. How do you explain that the time jumped 2 hours back after the Power BI Service refresh??
@teigenxayden
@teigenxayden 26 күн бұрын
thanks for your share!
@jerrobison
@jerrobison 27 күн бұрын
Love this solution! How can we sort from largest to smallest before getting the running total?
@fahmywaleed
@fahmywaleed 27 күн бұрын
thanks for the video, it helped me to do what I need with a slight twist to avoid the 2 slicers sync issue. On the same slicer I had a Year / Date hierarchy and set default year and month (current year) . So same month last year will not show default
@gurvindersingharora5301
@gurvindersingharora5301 28 күн бұрын
Hi Rick ! Please Create a video of calculation groups from basic to advanced in power Bi.
@carlosfigueroa448
@carlosfigueroa448 Ай бұрын
Thank you, really it was very usefull to analyze the delivery of water flowe
@stephenkeefe8205
@stephenkeefe8205 Ай бұрын
Thanks, that solves a current need. I will also look at whether the lists of items to search for can be made dynamic, so I can extract the "to search for" list from another query.
@emilmubarakshin49
@emilmubarakshin49 Ай бұрын
thank you - I love the efficiency of this idea
@sarfrazmemon7985
@sarfrazmemon7985 Ай бұрын
Hi, a great solution. I reached here when chatgpt could not give me correct application of Text.Combine formula. It asked me to add another column after Group By step but you solved it cleverly by combining both Group By and Text.Combine. Great work
@ramabg2
@ramabg2 Ай бұрын
OMG. null + 10 = null is the biggest plot twist ever. Thank you for the tips
@eslamfahmy87
@eslamfahmy87 Ай бұрын
Thanks, but I do not understand why we added +1 on the 2nd method
@countryboy_71
@countryboy_71 Ай бұрын
Joined your YT after watching you on the Chandeep challenge this morning. My question is...if I want to build this calendar, in its entirety, is it based off of your Date Table series?
@att6098
@att6098 Ай бұрын
Can you please share more on "How to"? I love to see if I can use it in my daily work environment. Thanks!
@avishekghosh8134
@avishekghosh8134 Ай бұрын
why is the archiving period from 1st Jan 2019 to 31st Mar 2022... it's 3 years 3 months. Then we have 3 more months of refresh. Can someone help me with how the periods are getting determined here? As I understand if want to have 3 years of data to be contained from the refresh date, Power BI will archive any data from three years before the refresh date to the refresh date. Considering the refresh date in the video is 5/31/2022, the starting date of the 3 year period should be 5/31/2019. This should be a rolling period and the latest 2 months of the rolling period should have "truncate and load" treatment and ten months will be as is. Any data now falling outside the rolling window will be deleted automatically. At any given time the report should contain not more than 3 years of data. Isn't it how is should work?
@nabilchahbani8734
@nabilchahbani8734 Ай бұрын
You are brilliant
@taniavandermerwe2280
@taniavandermerwe2280 Ай бұрын
Hi, This is brilliant but these are all cumulative values. I just need it by date. I simply cannot find anyone who can return that value for me. Please help? Then it needs to show the last 12 months irrelevant of the slicer selection as well.
@AjaySingh-hp6eh
@AjaySingh-hp6eh Ай бұрын
Let's assume we have a numeric column, in addition to the Date column, that we do not want to unpivot. This numeric column is used in a card visual to display its sum. However, when we unpivot only three columns (Shirts, Trousers, and Mats), the values in the numeric column are duplicated, causing the card visual to display an incorrect, inflated sum. How can we correct this?
@julliettecarignan8563
@julliettecarignan8563 Ай бұрын
I'm intrigued by how you did this. It's particularly useful for the use case you chose -- the Calendar table -- but I've done something like this in several dataflows and would love to compare how you did it to potentially improve my method that has a weakness that maybe you've overcome, I think by using metadata. I can't wait for your video on that topic!
@gezin_longuevilleosaer4245
@gezin_longuevilleosaer4245 Ай бұрын
hoi Rick, terug een erg mooie en bruikbare video. Ik moet echt meer in je boek duiken en in je website PQ how.
@patrickgarner
@patrickgarner Ай бұрын
Great job with the presentation!! I looked at several other videos on this subject and the difference is quite remarkable. I appreciated your pace, your clarity, your lesson organization, and your professional/educator/helpful attitude. I was up and running very quickly, thanks to you. Much appreciated. 👏👏👏
@jerrydellasala7643
@jerrydellasala7643 Ай бұрын
Very useful. Would be great if you posted the file!
@euclides_jaime
@euclides_jaime Ай бұрын
Great solution you came up with, about to apply same idea on my calendar table, thanks for sharing I really appreciate it.
@shirleymoreman6725
@shirleymoreman6725 Ай бұрын
This is really neat! I sometimes have tables with 150+ columns. This is a great way to allow a flexible approach in case a different order is needed. I created my columns table on a separate tab in Excel (so it's easy to maintain); then if there are columns I don't need I can leave the index blank and just organise the way I want them.
@BIGorilla
@BIGorilla Ай бұрын
That's absolutely brilliant. Maintaining it in excel is easy too. My example uses the 'Enter data' feature in Power BI. But when working in Excel, your suggestion is much much easier, great to see you use it right away :)
@shirleymoreman6725
@shirleymoreman6725 Ай бұрын
@@BIGorilla I wondered how you got that table! I don't really use Power BI so not familiar with that feature. But pretty easy to set up in Excel 🙂
@VahabSahvi
@VahabSahvi Ай бұрын
Excellent ❤
@toddbhalford
@toddbhalford Ай бұрын
Very interesting and elegant method for dealing with super wide tables. I love it!
@BIGorilla
@BIGorilla Ай бұрын
Thanks Todd, it's great for data with a relatively fixed structure!
@mattfloyd65
@mattfloyd65 Ай бұрын
Rick, I love this idea. Do you have the script for the bigger table? Also, I like that you have descriptions for all your fields. Is there a way to get those descriptions into the semantic model so these columns are documented?
@BIGorilla
@BIGorilla Ай бұрын
Hey Matt. That's a good question. I would have to look into that. I'm pretty sure that if we loaded the information into the model, we could use a C# script in Tabular Editor 3 to document everything. I don't think it can read power query metadata though.
@williamarthur4801
@williamarthur4801 Ай бұрын
Interesting topic and one that I've not seen covered anywhere else.
@BIGorilla
@BIGorilla Ай бұрын
Thanks William. I think it becomes more important once your tables get bigger. And if the structure is pretty stable, why not document it :)
@-seesi-
@-seesi- Ай бұрын
Love this approach. A video how you created the inner table would be cool. Surely you can do it with a Combination of PQ & Excel, but maybe there is a better way.
@BIGorilla
@BIGorilla Ай бұрын
Hey Seesi, I do have a video coming up that shows how you can achieve this exact setup with meta data. It should come out coming month. Keep an eye out for the video on 'Metadata'. I don't prefer the approach, but it's one that works. Another one is to simply generate the table information and paste it in the 'Enter data' screen. When the data structure is fixed, it's easy to setup once and leave as is. Rick
@-seesi-
@-seesi- Ай бұрын
@@BIGorilla Awesome, looking foward to it! :)
@rodriguesfernand
@rodriguesfernand Ай бұрын
Rick, in this case, every step creates a new table with the criteria using the previous step, right?
@BIGorilla
@BIGorilla Ай бұрын
Actually the entire date table is generated, step by step. Then I inserted a table with column information. Then the final step filter the last date table step to select only columns that the user filtered in the 'information table'. Power Query uses lazy evaluation, and won't use any resources to compute columns you don't return, so that is great performance wise too!
@businessinsights_AlexRobe
@businessinsights_AlexRobe Ай бұрын
@@BIGorilla Would lazy evaluation and performance gains also happen, if all your steps were wrapped in a function, where you just parameterize star date, end date and holidays?
@businessinsights_AlexRobe
@businessinsights_AlexRobe Ай бұрын
Really powerful, thanks!
@BIGorilla
@BIGorilla Ай бұрын
Thanks Alex. Glad you liked it!
@ninokereselidze5848
@ninokereselidze5848 Ай бұрын
Great, thank you!