How To Use The GROUPBY Function In Power BI - DAX Function Review

preview_player
Показать описание

In this tutorial, we will run through how to use the GROUPBY function in Power BI.

This is a similar table function to the likes of SUMMARIZE and SUMMARIZECOLUMNS, but it has some unique nuances to it that are interesting and worth diving into more deeply.

You can use the GROUPBY function in a few ways and I will look to show these to you during this particular video.

Sam

***** Video Details*****
1:55 - creating tables using GROUPBY
3:58 - using the CURRENTGROUP function
5:28 - working out GROUPBY inside a variable
6:33 - return results using MAXX function
6:54 - checking out a specific customer

***** Learning Power BI? *****

*****Related Links*****

*****Related Course Modules*****

*****Related Forum Posts*****
Рекомендации по теме
Комментарии
Автор

How to use group by function for calculating average of a single column containing different inputs

rupaliawale
Автор

Hello, I have a question, Max product sales by state in Total doesn't equal to “Total sum up" . it is the max amount, current? so, Is it any possibility to show a total amount for these "Max product sales by state" by each customer?

ohmoneymoneyhome
Автор

Great job Sam, your the go to channel for me to find power bi related content, keep up the awesome work!

sydog
Автор

Thank you Sir. Great YouTube. With this lecture I have got a good experience in power bi. I have a quick question, Can I add Sales Last Year in this groupby function? I have added [ calculate(sumx(currentgroup(), sales[value]), dateadd( date[date], -1, year)), but I cannot get any return. I did the same thing with summarize function. I cannot get any value either. Can you help?

younghan
Автор

Make it as a calculate column is so ease my friend. Its is realy like a beginner. I´d like to see it all as measures.

satellitepop
Автор

Hi Sam, thank you so much for doing this video, it helps me a lot to solve a problem!!! 😊

soymb
Автор

Thank you for sharing this was helpful for me

mehdihammadi
Автор

Hi Sam, there are others that explain DAX functions (e.g., groupby) on YouTube, but none do it as well as you. I hope you would consider do many of these kinds of videos that just focus on one DAX function or one type of DAX function. I feel that when i watch your videos, I walk away feeling like i learned and now can apply what you taught me. When I watch others' videos, I often walk away feeling confused and having more questions than before watching their videos. Keep up the good work! Thank you from your viewers in New York City! We appreciate your work.

officesuperhero