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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.