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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply

How do I get columns to append each other?

I get data via an API which is then presented in Power BI like this.

 

ComputerRESULTS.DATE.0RESULTS.DATE.1RESULTS.VALUE.0RESULTS.VALUE.1RESULTS.VALUE.3
COMP-457312/12/202313/12/2023546385699

5788

 

The results.date will correspond to their results.value counterparts as shown in the example below. In order for PBI to show a timeline, the Date column needs to be in one, with the coulmns appending each other and repeating the subsequent column to the left. I thought I could do this with unpivotting but it completey messes up the format of the table and thus the values are no represenative to their corresponding Computer cell or entry. 

 

How can I get the columns to just append each other?

2 REPLIES 2
Daniel29195
Super User
Super User

@dinosainsburys 

please show to required output . 

 

best regards

So using this table as an example:

 

 

ComputerRESULTS.DATE.0RESULTS.DATE.1RESULTS.DATE.2RESULTS.DATE.3RESULTS.DATE3
COMP-457312/12/202313/12/202314/12/202315/12/202316/12/2023
COMP-457812/12/202313/12/2023 14/12/202315/12/2023 16/12/2023
xxxxxxxxxxxxxxxxxxxxxxxxx

 

I want it to look like this:

 

 

ComputerRESULTS.DATE.COMBINEDRESULTS.DATE.1RESULTS.DATE.2RESULTS.DATE.3RESULTS.DATE3
COMP-457312/12/2023    
COMP-457813/12/2023    
xxxx14/12/2023    
 15/12/2023    
 16/12/2023    

 

So essentially combining the columns into one. 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors