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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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