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
Anonymous
Not applicable

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
Anonymous
Not applicable

Hi @Anonymous ,

 

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
Anonymous
Not applicable

Hi @Anonymous ,

 

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
Resident Rockstar
Resident Rockstar

Hi @Anonymous

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

@Anonymous , 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/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.