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

Preparing for a certification exam? Ask exam experts all your questions on May 15th. Register now.

Reply
enswitzer
Helper III
Helper III

Table Creation

I am looking to create a table based on an input of data that I have and need it to be able to change based on the project selected. See the screenshot below for example of what I'm looking to do. 

 

(CURRENT TABLE INPUT) 
Project IDProject TitlePhase 1Phase 2Phase 3 
1Project 11/1/20202/1/20203/1/2020 
2Project 25/1/20206/1/20207/1/2020 
3Project 38/1/20209/1/20209/15/2020 
4Project 410/1/202011/1/20201/1/2021 
      
Desired Output; want to be able to change selected project
Project 1(sample 1)  
PhaseDate    
Phase 11/1/2020    
Phase 22/1/2020    
Phase 33/1/2020    
      
Project 2(sample 2)  
PhaseDate    
Phase 15/1/2020    
Phase 26/1/2020    
Phase 37/1/2020    
      
1 ACCEPTED SOLUTION
v-stephen-msft
Community Support
Community Support

Hi @enswitzer ,

 

It is suggested to try the following operations in Power Query Editor.

 

1.Select Project ID and Project Title columns, and select Unpivot other columns.

1.png2.png

 

2.Rename the new columns.

3.png

 

3.Then select Close&Apply and create these visuals. Then you can select the Project ID through the slicer to display the output.

4.png5.png

 

You can check more details from here.

 

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-stephen-msft
Community Support
Community Support

Hi @enswitzer ,

 

It is suggested to try the following operations in Power Query Editor.

 

1.Select Project ID and Project Title columns, and select Unpivot other columns.

1.png2.png

 

2.Rename the new columns.

3.png

 

3.Then select Close&Apply and create these visuals. Then you can select the Project ID through the slicer to display the output.

4.png5.png

 

You can check more details from here.

 

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

lkalawski
Super User
Super User

Hi @enswitzer

The first thing you should do is unpivot Phase data:

Select 3 columns and click Unpivot Columns in the Transform tab. Then change the name of column Attribute to Phase.

lkalawski_0-1599050148538.png

Next step is to create matrix with slicer. Add new slicer and put in the Field Project Title.

Add Matrix visual and to the Column field add Phase column and to the Value add Value column (change name to "Date).

lkalawski_2-1599050354991.png

 

The result:

 

lkalawski_1-1599050311614.png



_______________
If I helped, please accept the solution and give kudos! 😀

 

 

amitchandak
Super User
Super User

@enswitzer , Unpivot the data and display in the matrix

https://radacad.com/pivot-and-unpivot-with-power-bi
Transpose : https://yodalearning.com/tutorials/power-query-helps-transposing-data/

 

On matrix try Show on Row

https://www.burningsuit.co.uk/blog/2019/04/7-secrets-of-the-matrix-visual/

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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