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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
uncgis
New Member

Direct Query: Move Row Values to Columns

Using a basic table in Power BI, I want to provide row level data for a group of individuals (name, address, and phone number).    However, my phone number table has a row for each phone number on file (e.g., cell and home).   I am getting my data through a direct query.  Below is an example of what I have and what I am trying to accomplish.

 

Current State

 

IDPhone_TypePhone_Numb
1235890CELL012-345-6789
1235890Home987-654-3210

 

Desired State

 

IDCELLHOME
1235890012-345-6789987-654-3210

 

Any thoughts on how this can be accomplished?  Thank you for any suggestions. 

 

Take care.

 

 

 

1 ACCEPTED SOLUTION
AlexisOlson
Super User
Super User

Use a matrix visual instead of a table visual and put ID on the rows and Phone_Type on columns.

View solution in original post

1 REPLY 1
AlexisOlson
Super User
Super User

Use a matrix visual instead of a table visual and put ID on the rows and Phone_Type on columns.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors