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
harshadrokade
Post Partisan
Post Partisan

Create single table with multiple columns

Thanks for looking into the query.

 

I have below data

IDLatest_updated_Date__cLast_update_Date_1__cLast_update_Date_2__cLast_update_Date_3__cLast_update_Date_4__cLast_update_Date_5__cLatest_Stage__cLast_update_stage_1__cLast_update_stage_2__cLast_update_stage_3__cLast_update_stage_4__cLast_update_stage_5__cAmt
122333September 5, 2023August 20, 2023August 5, 2023July 20, 2023July 5, 2023 AAAAA 16
122334September 5, 2023August 20, 2023August 5, 2023July 20, 2023July 5, 2023 BAAAA 16
122335September 5, 2023August 20, 2023August 5, 2023July 20, 2023July 5, 2023 AAAAA 13
122336September 5, 2023August 20, 2023August 5, 2023July 20, 2023July 5, 2023 AAAAA 9
122337September 5, 2023August 20, 2023August 5, 2023July 20, 2023July 5, 2023 CAAAA 4
122338September 5, 2023August 20, 2023August 5, 2023July 20, 2023July 5, 2023 BBBB  9
122339September 5, 2023August 20, 2023August 5, 2023July 20, 2023July 5, 2023 AAAAA 4
122340September 5, 2023August 20, 2023August 5, 2023July 20, 2023July 5, 2023 BAADD 15

 

I have created seperate tables as below with the same.

harshadrokade_0-1694848633624.png

As the stages are common in all the tables above, How can I create a single table where the Stage column will come only once, There will be multiple date columns with amt as below-

harshadrokade_1-1694848801245.png

 

 

1 ACCEPTED SOLUTION
mickey64
Super User
Super User

Step 1: I select 2 columns and merge with space.

mickey64_0-1694867888792.png

Step 2: I change column name, "Date Stage 0".

mickey64_1-1694868068437.png

Step 3: I do same steps for other columns.

mickey64_2-1694868229632.pngmickey64_3-1694868292770.pngmickey64_4-1694868343855.pngmickey64_5-1694868387072.pngmickey64_6-1694868452637.png

Step 4: I select "Date Stage 0"-"Date Stage 5" and pivot...

mickey64_7-1694868698346.pngmickey64_8-1694868746763.png

Step 5: I separate a column with space.

mickey64_9-1694869016238.pngmickey64_10-1694869056478.png

Step 6: I change 2 names of columns.

mickey64_11-1694869166717.png

Step 7: I go to Power BI Desktop and make matrix.

mickey64_12-1694869394960.png

 

 

View solution in original post

1 REPLY 1
mickey64
Super User
Super User

Step 1: I select 2 columns and merge with space.

mickey64_0-1694867888792.png

Step 2: I change column name, "Date Stage 0".

mickey64_1-1694868068437.png

Step 3: I do same steps for other columns.

mickey64_2-1694868229632.pngmickey64_3-1694868292770.pngmickey64_4-1694868343855.pngmickey64_5-1694868387072.pngmickey64_6-1694868452637.png

Step 4: I select "Date Stage 0"-"Date Stage 5" and pivot...

mickey64_7-1694868698346.pngmickey64_8-1694868746763.png

Step 5: I separate a column with space.

mickey64_9-1694869016238.pngmickey64_10-1694869056478.png

Step 6: I change 2 names of columns.

mickey64_11-1694869166717.png

Step 7: I go to Power BI Desktop and make matrix.

mickey64_12-1694869394960.png

 

 

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.