Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Group BY function HELP

Hello,

 

Could you please tell me if it is possible by using 'GROUP BY' to make these line to 1.

 

SO I want to see 1 name 1 brand (which can any of them ) and the date (which is the same) 

 

Ahmet_Oz_1-1594226971706.png

 

 

Ahmet_Oz_0-1594226856853.png

 

 

What I want to see one line for.

 

NAME= ıs the same person

 

I want to see one line for  DATE = '30/06/2020', not 2. 

 

I want to group by the BRAND. It can be any of them MAx or MIN 

 

Here are the attachments:

 

Thank you,

1 ACCEPTED SOLUTION
Anonymous
Not applicable

At the end, what i have done was :

 

 

I group BY NAME,  

 

and columns by ; Brand MAX and DATE MAX 

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

@Anonymous 
Maybe you can used a matrix:

set matrix.JPG

first.JPG


Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Anonymous
Not applicable

Thank you for this solution, however I need to make something during the query, not in the visual section 

Hello @Anonymous,

 

You can click on Advanced and add columns that you wanted to Summarize in 'Group By' section.

 

Hope this helps.

Anonymous
Not applicable

At the end, what i have done was :

 

 

I group BY NAME,  

 

and columns by ; Brand MAX and DATE MAX 

amitchandak
Super User
Super User

@Anonymous , refer if this can help

https://www.poweredsolutions.co/2019/07/30/grouping-rows-with-power-bi-power-query/

 

In the above case, you can take the max of brand and Date?

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.