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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
powerbi_ex
Frequent Visitor

Group Data by Distinct Column Row

**I pasted sample data below**

How to change this table data where it groups the each Business Unit by Type and sorted TimeLogged like the Final Output in Power BI?  I am not sure whether to accomplish this as a dax virtual table or in power query. 

 

powerbi_ex_3-1743525020710.png

 

 

 

Business UnitTypeTimeLogged
McdonaldsClient12:01:00 AM
McdonaldsStaff12:01:00 AM
McdonaldsReviewer12:01:00 AM
AppleBeesClient12:02:00 AM
AppleBeesStaff12:02:00 AM
AppleBeesReviewer12:02:00 AM
Ruby Tuesday'sClient12:03:00 AM
Ruby Tuesday'sClient12:03:00 AM
Ruby Tuesday'sStaff12:03:00 AM
Ruby Tuesday'sStaff12:03:00 AM
Ruby Tuesday'sReviewer12:03:00 AM
Nacho'sClient12:04:00 AM
MTS FoodsClient12:04:00 AM
MTS FoodsStaff12:04:00 AM
MTS FoodsReviewer12:04:00 AM

  

 

 

1 ACCEPTED SOLUTION

Please find the PBI on the page called Group Data

https://drive.google.com/file/d/1ALLBwOtcJrxUc1NO7KVNj7ZjhXI_Rnwp/view?usp=sharing

 

If you have more questions, do hesitate to post them

If I answer to your question, please accept this answer as a solution

View solution in original post

3 REPLIES 3
Cookistador
Super User
Super User

What are you trying to achieve?

A matrix would be enough

 

Cookistador_0-1743533752228.png

 

Add the fields in Rows

 

If it is not what you are trying to achieve, can you give more context?

Do you have this PBIX?

Please find the PBI on the page called Group Data

https://drive.google.com/file/d/1ALLBwOtcJrxUc1NO7KVNj7ZjhXI_Rnwp/view?usp=sharing

 

If you have more questions, do hesitate to post them

If I answer to your question, please accept this answer as a solution

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

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.