Create Buckets or Groups with Power Query in Power BI

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ธ.ค. 2024

ความคิดเห็น • 106

  • @Len-xj2sy
    @Len-xj2sy ปีที่แล้ว +1

    boy do i love this channel i have found everything i have ever needed looking. Anytime its something i havent done before im like guy in the cube probably has a video for it and sure enough

  • @ShovanMandal
    @ShovanMandal 3 ปีที่แล้ว +6

    This is awesome! did not know we can do it like this in power query!

  • @ScottPerley
    @ScottPerley 2 ปีที่แล้ว +1

    That groups from example was a game changer for me! Thank you!

  • @veronicamuoio1455
    @veronicamuoio1455 2 ปีที่แล้ว +1

    Extremely useful! You make the best PBI videos! Thanks for all you do!

  • @BIGorilla
    @BIGorilla 3 ปีที่แล้ว +6

    Awesome. I know the 'column from example' feature is powerful and used it in quite a few cases. This however is one of those cases that you hear of and think 'hey, that's awesome'. Not the first thing one would expect. Yet one to remember! Thanks, Rick

  • @rickmarciniak2985
    @rickmarciniak2985 3 ปีที่แล้ว

    thank you for showing multiple ways to accomplish the same thing. have a great weekend!

  • @dhamilton63
    @dhamilton63 2 ปีที่แล้ว

    This was the best video I watched today. That's saying something. Thank you for this much needed breakdown!!

  • @britishenglishwithmaria
    @britishenglishwithmaria ปีที่แล้ว

    You're amazing!!! working on a personal project for job apps and your video is a game changer for me so thank you.

  • @dataveld8736
    @dataveld8736 3 ปีที่แล้ว +6

    Groups/Bins created in the UI end up as calculated columns in the model too and should come with the same caveats mentioned for the DAX method

  • @vigneshvarmohanviky
    @vigneshvarmohanviky 3 ปีที่แล้ว

    Waited for this tableau function for a while.Thanks Patrick

  • @charlineverona
    @charlineverona ปีที่แล้ว

    This was extremely helpful ! Thank you

  • @amudhachinnaswamy
    @amudhachinnaswamy ปีที่แล้ว

    Great tutorials! thanks Patrick

  • @McFatts
    @McFatts 2 ปีที่แล้ว

    Making Bi simple, thank you so much for all your vid's, they're so incredibly helpful!

  • @dariuszspiewak5624
    @dariuszspiewak5624 3 ปีที่แล้ว +2

    I'm just wondering... If these things are in there in PQ (and in other languages/products), how are people to get to know them? Are these "tricks" described somewhere in some kind of documentation? Or do we always have to "accidentally discover such things"?

  • @SonuGupta-hk4tb
    @SonuGupta-hk4tb 4 หลายเดือนก่อน

    Thank you for this info. I've a question: if instead of giving, for example, 40-50 range directly, i want to make 10 buckets, and want to create the ranges dynamically, how to do that? Any help is appreciated.

  • @roronoazoro-518
    @roronoazoro-518 2 ปีที่แล้ว

    I love you man! My project is sorted now

  • @asawmu
    @asawmu 3 ปีที่แล้ว

    I usted the condicional Columba option to group and name the buckets, but this option is effortless thanks for helping me be efficient :)

  • @subhamsaha2235
    @subhamsaha2235 2 ปีที่แล้ว

    Last one was really amazing

  • @mrsebastianhendricks
    @mrsebastianhendricks 5 หลายเดือนก่อน

    Ive been using DAX all this time - this is amazing

  • @luizfilipe2278
    @luizfilipe2278 3 ปีที่แล้ว +2

    Beautiful! Very easy to do with Power QUERY

  • @CAYLARAEPAVOL
    @CAYLARAEPAVOL ปีที่แล้ว

    Hi, great video. Is there a way of making buckets based on the final outcome of a measure.

  • @martmoyo
    @martmoyo 2 ปีที่แล้ว +1

    Awesome! Is there a way of adding a bin as a filter which can link to different tables and work across the tables regardless of which value you link it to?

  • @maharani1988
    @maharani1988 10 หลายเดือนก่อน +1

    This is sooo briliantt! thank you!

  • @yukithejapanese
    @yukithejapanese 3 ปีที่แล้ว

    Didn't know the one in Power Query. A Great tip!

  • @dougkimzey4518
    @dougkimzey4518 2 ปีที่แล้ว +2

    How would you set the grouping column(s) used by the aggregates in visualizations?

    • @dusk4377
      @dusk4377 2 ปีที่แล้ว

      Would also like to know.

    • @prakashgadupoodi7549
      @prakashgadupoodi7549 ปีที่แล้ว

      I would also like to know.. Plz share Patrick

  • @mariapradeepm
    @mariapradeepm 8 หลายเดือนก่อน

    Thank you. How do we create dynamic bucket? For an example, let’s say we have created only till 80-100 but we need to create 100-120, 121-140. Is it possible based on the age bucketing can be dynamic?

  • @AnhHoang-k3v4t
    @AnhHoang-k3v4t ปีที่แล้ว

    Thank you so much for the instruction!

  • @shashipaul6279
    @shashipaul6279 3 ปีที่แล้ว

    I know about group by option in power query .... Good to know this ..

  • @safifaruqi
    @safifaruqi 3 ปีที่แล้ว

    Very powerful, although like dataveld mentioned, caveats remain the same as the switch statement. Ideal scenario from the model performance standpoint is thtat you create buckets at the source.

  • @BenTaicher
    @BenTaicher ปีที่แล้ว

    Thank you! In your DAX solution, if I have filters applied in the dashboard, they won't affect this column. How can I address this issue?

  • @davidcousins8407
    @davidcousins8407 3 ปีที่แล้ว

    This is fab.
    The by example functionality is indistinguishable from magic.

  • @VladMZ
    @VladMZ 3 ปีที่แล้ว +3

    I usually go the proper way and create a dimension table in PQ, with a surrogate key. Small impact to fact tables, but full flexibility in the visuals in regards to Show Items with no values. If you do it how Patrick describes, you'll be stuck with only groups that ARE PRESENT in your fact table, i.e. no ability to display empty groups.

    • @dvonpluto
      @dvonpluto 3 ปีที่แล้ว

      Can you provide an example? Still using age,I do not want to have a fact table with all ages but just min and max to use in visuals. I do not want to use calculated columns to blow up my model. Thanks

    • @VladMZ
      @VladMZ 3 ปีที่แล้ว

      @@dvonpluto Create a table of age ranges with names, min and max. Then in Power Query, in your fact table after you have a step to calculate the age, add a custom column that returns you the row from the range table, using this code: let currentDays = [age] in Table.SelectRows(LKP_AgingBuckets, each [RangeStart] = currentDays).
      After that just expand that new column to extract the ID. Voila, your fact table will only increase by one integer column, little to no change to the model.

  • @matthiask4602
    @matthiask4602 3 ปีที่แล้ว

    marvelous! And exactly the right Shirt to wear.

  • @jamesbowman7599
    @jamesbowman7599 3 ปีที่แล้ว

    Thanks Patrick, great overview. Creating Clusters would also be another one.

  • @mariabeatrizugalde4163
    @mariabeatrizugalde4163 2 ปีที่แล้ว

    Thank you, that really helped me :)

  • @KunalRout
    @KunalRout 3 ปีที่แล้ว +1

    Grouping in Power Query powerup the base table and removes ambiguity in data present in the column with specific set of values. Grouping solves a lot of problems, be it Numeric or Non-Numeric data type and null values problems too.

  • @platformengineering..671
    @platformengineering..671 3 ปีที่แล้ว +1

    Hi Patrick, how can create bucket in power query with with difference is not same such as0- 5 ,6-15,15- 25,25- 40

    • @cristianprifti
      @cristianprifti 3 ปีที่แล้ว

      You can try it first exactly how Patrick showed it and continue typing some examples, if this does not work you can still use a conditional column or a custom column with a nested if

    • @pabeader1941
      @pabeader1941 3 ปีที่แล้ว +1

      @@cristianprifti Or you can use my example and just make the min, max whatever you like.

  • @infaziqbal44
    @infaziqbal44 ปีที่แล้ว

    is this feature available in power query excel?

  • @powerb_i
    @powerb_i 4 หลายเดือนก่อน

    Great video thank you!

  • @hiolka
    @hiolka ปีที่แล้ว

    Is it possible to create the groups based on MEASURES (e.g. price ranges, when calculated price is a DAX measure, not a calculated colum)?

  • @jesshudes9902
    @jesshudes9902 ปีที่แล้ว

    this was amazing!

  • @fidzanikilibe9066
    @fidzanikilibe9066 3 ปีที่แล้ว +2

    WOW i didn't know you could do that in PQ, Thanks Patrick its Bananas :)

  • @lopypop
    @lopypop 3 ปีที่แล้ว

    Damn Patrick, you did it again! You should have seen my face when you entered that first row in PQ lol

  • @vamsig4450
    @vamsig4450 ปีที่แล้ว

    Is there any way to create groups with different text values ???

  • @albertovelluti9168
    @albertovelluti9168 2 ปีที่แล้ว

    nice video. any idea how to sort the group column made using PowerBI feature without using specific grouping labels (eg 01 xxx, 02 yyy, 03 ppp, ....)

  • @johnzafe
    @johnzafe 2 ปีที่แล้ว

    You are a life saver

  • @joshblackman2380
    @joshblackman2380 2 ปีที่แล้ว

    What happened to the Microsoft Histogram visual? Trying to build a report but it is not longer available for download. This is a key visual, why is it gone? Is it coming back? Alternatives?

  • @veronicauzomaka6433
    @veronicauzomaka6433 2 ปีที่แล้ว

    Pls I tried the column for examples; age group solution but it didn't work and I don't know why. Pls I need your advice. Thanks.

  • @gregg1439
    @gregg1439 2 ปีที่แล้ว

    Hi. Is it possible to bind BIN (or ABC/Pareto) dimentions to Parameters exposed to User. In my report there is slicer in which User can change within certain range A/B border value. With Calculated Column it does not work - the formula sees Max of the Range not selected Value.

  • @mercadonheil
    @mercadonheil 3 ปีที่แล้ว

    Thank you! :) You the best!

  • @NazomSparkle
    @NazomSparkle 3 ปีที่แล้ว

    Does it group words into buckets or just numbers/Ranges..

  • @katharinakleist1432
    @katharinakleist1432 3 ปีที่แล้ว

    Great video, thank you! One question, how come the bar graph based on age groups doesn't adjust when I use slicers/ filters on the same page? Am I missing sth?

  • @Wildkomments
    @Wildkomments 2 ปีที่แล้ว

    How do you do this with revenue? Like quartiles. Also, Im not seeing "Add by example etc" old version?

  • @SarahBlackburn-qj3vk
    @SarahBlackburn-qj3vk 7 หลายเดือนก่อน

    Great energy

  • @rdaleprice7184
    @rdaleprice7184 2 ปีที่แล้ว

    How do we make the Groups sort in the correct order instead of the default order? Normally there is an index column to sort by.

  • @mahmoudmusah5963
    @mahmoudmusah5963 ปีที่แล้ว

    How do i do this in the online version of Power BI?

  • @matthewthiele9646
    @matthewthiele9646 3 ปีที่แล้ว

    Along the same lines, is it possible to create sets in Power BI? Would end users be able to create their own groups?

  • @MichaelPorter-t4q
    @MichaelPorter-t4q ปีที่แล้ว

    Thanks guys

  • @visheshjjain
    @visheshjjain 3 ปีที่แล้ว

    It might be overkill, but do you think a dimension table for age and a realtionship with the fact table, will make the report faster?
    Your thoughts?

  • @fishijoe
    @fishijoe 3 ปีที่แล้ว +1

    absolute bananas!

  • @sylvesterlall5999
    @sylvesterlall5999 2 ปีที่แล้ว

    This is amazing! Thanks so much Patrick!
    The problem I'm encountering though is that I am unable to view more than the 1st 999 rows that show up in power query and therefore I'm only able to define one bin/group (I can't scroll any lower than the 999th row, and they all have just one bin). How I create the 2nd,3rd,4th bin.....if the remaining values are in rows beyond the extent of my scroll capability (999 rows)
    I'd appreciate any tips or tricks that come my way.
    Sure appreciate your time!

  • @frankwright6227
    @frankwright6227 3 ปีที่แล้ว

    I've used buckets/bins for my dates however when I refresh the data they don't update to include this new information. Does anyone know where I could be going wrong?

  • @HopeyDopey-p3e
    @HopeyDopey-p3e 3 ปีที่แล้ว

    This is bananas!

  • @gagansingh3481
    @gagansingh3481 2 ปีที่แล้ว

    Hi awesome video could you please provide sample file to practice the awesome features

  • @christinagarperio5687
    @christinagarperio5687 3 ปีที่แล้ว

    This is awesome!

  • @srinug85
    @srinug85 3 ปีที่แล้ว

    Hi Patrick/Adam - can you create a video how to create checkbox table to filter selected data from table

    • @pabeader1941
      @pabeader1941 3 ปีที่แล้ว

      That is a built in function?? Or am I misunderstanding you? It's a slicer. Checkbox is usually one of the options...

    • @srinug85
      @srinug85 3 ปีที่แล้ว

      @@pabeader1941 actually I have a requirement like need to filter from table like if I selected 3 users in the table it should filter that 3 users data in remaining visuals of the page

    • @pabeader1941
      @pabeader1941 3 ปีที่แล้ว

      @@srinug85 Isn't that a slicer? Just put the users in a slicer and then you can select as you want. Or just select from the filter pane.

  • @Sandroider
    @Sandroider 2 ปีที่แล้ว

    using live connection these options are grayed out, what next?

  • @sabarashid1513
    @sabarashid1513 3 ปีที่แล้ว

    Just one word fantastic!

  • @kiravonehren4278
    @kiravonehren4278 2 ปีที่แล้ว

    Hello Patric, is there also a way to create groups that are overlapping? I have a column with concatenated Channels (string) and would like to build groups based on if a channel is in my string. There can be strings like "Display, SEA" that would belong to the group Display AND to the group SEA. The aim is to see which channel participates in how many Customer Journeys or filter the Journeys based on Channel participation. I originally had each Channel in a different column per Transaction ID ( row). Since Dax only filters by Columns and not by criteria contained in a row I thought I could build a filter by concatenating all Channels of each Transaction ID in one colum (string). Hope this makes sense! Help is much appreciated!

  • @david.miskick
    @david.miskick 3 ปีที่แล้ว

    What about Conditional Column in PQ?

  • @Beejay0072
    @Beejay0072 2 ปีที่แล้ว

    Hi, I have a little challenge. I need to group text values on power query. Say for instance, I want to group status Managers and Assist Managers into management level, Director into Executive level and so on. I want it done on power query. Thanks

    • @mosuna4171
      @mosuna4171 ปีที่แล้ว

      Hi, i need to do something like this. Were you able to do this?

  • @instabilitas
    @instabilitas 2 ปีที่แล้ว

    Can you rename the bins/groups in Power Query e.g. 0 - 1000000 translates to 0 -1M, 1000001 - 2000000 translates to 1M -2M,

  • @sirajmohammedali2790
    @sirajmohammedali2790 3 ปีที่แล้ว

    You are awesome.

  • @melissajones8329
    @melissajones8329 3 ปีที่แล้ว

    Brilliant!

  • @dmstar101
    @dmstar101 2 ปีที่แล้ว

    Hey Guys, I have just found you and loving the vids. I have a unique challenge that is quite complicated. Can I send an email with an explanation and the file for you to review? thanks

  • @MohammadAshooryan
    @MohammadAshooryan 3 ปีที่แล้ว

    It is wonderful.

  • @visalatchy_IT
    @visalatchy_IT 2 ปีที่แล้ว

    =') thanks! this helped me alot.

  • @lindalim9583
    @lindalim9583 6 หลายเดือนก่อน

    mindblowing

  • @sandhyasoman3269
    @sandhyasoman3269 3 ปีที่แล้ว

    Its really Bananas!!! Good Info!!!

  • @arameshkumar5072
    @arameshkumar5072 3 ปีที่แล้ว

    Please provide , .pbix file
    ❤️
    Practise purpose 🙏

  • @Markizoniusz
    @Markizoniusz 3 ปีที่แล้ว

    Damnnn man. And I was using DAX all this time 😳

  • @jeetubodhgaya
    @jeetubodhgaya หลายเดือนก่อน

    Be my mentor plsssss👏🏻

  • @sweedish84
    @sweedish84 2 ปีที่แล้ว

    w00t?! Nice, thanks!

  • @dollysiharath4205
    @dollysiharath4205 ปีที่แล้ว

    Just one suggestion, if you would like to teach someone new to DAX please slow down on your demo.

  • @alanislas5780
    @alanislas5780 11 หลายเดือนก่อน

    just by chance, any one knows how to do this with Looker?

  • @houdamesmoudi3685
    @houdamesmoudi3685 ปีที่แล้ว

    I love u ❤❤❤❤❤

  • @Sanj803
    @Sanj803 3 ปีที่แล้ว +1

    That's BANANAS ..... 🍌🍌

  • @MichaelaLambert-b7s
    @MichaelaLambert-b7s 10 หลายเดือนก่อน

    None of this work for mac users

  • @arameshkumar5072
    @arameshkumar5072 3 ปีที่แล้ว

    I like 🍌🍌🍌🍌💞 Banana ❤️

  • @koutlaw30
    @koutlaw30 3 ปีที่แล้ว

    Bananas

  • @Jacteaux
    @Jacteaux 2 ปีที่แล้ว

    How about just showing us how instead of talking about all the other ways to do it