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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register 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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors