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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
Anonymous
Not applicable

Add columns to a table visual dynamically

Hello community,

I have a table that comes from a SQL Server Procedure (let's say table1).
This table, based on the procedure, could have a dynamic number of columns :
A|B|C|Price_1|Price_2|Price_3|...|Price_n.
Since I'm using in Power BI a table visual to show informations based on those prices, I need to show dynamically in the table visual as much as prices that I have in the table created from the stored procedure.

Is there a solution to adjust dynamically the table visual?

Thank you.

2 ACCEPTED SOLUTIONS
Idrissshatila
Super User
Super User

Hello,

 

It should be added manually, since Power BI won't know which columns to add and it won't add by default.



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

Uzi2019
Community Champion
Community Champion

Hi @Anonymous 

 

Unfortunetly No. You have to add it manually. 
you can apply pivot column.

In that case in auto refresh other pivot whih are added later on will be added part of a pivot.

Steps:

Go to power query

 

select your A|B|C| and go to transform> Pivot other columns

Uzi2019_0-1718352269476.png

 

 

save and close.

 

Try to add in your Matrix visual any way you want it. but it auto fetches the newly added columns.

 

 

I hope I answered your question!

 

 

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

View solution in original post

2 REPLIES 2
Uzi2019
Community Champion
Community Champion

Hi @Anonymous 

 

Unfortunetly No. You have to add it manually. 
you can apply pivot column.

In that case in auto refresh other pivot whih are added later on will be added part of a pivot.

Steps:

Go to power query

 

select your A|B|C| and go to transform> Pivot other columns

Uzi2019_0-1718352269476.png

 

 

save and close.

 

Try to add in your Matrix visual any way you want it. but it auto fetches the newly added columns.

 

 

I hope I answered your question!

 

 

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!
Idrissshatila
Super User
Super User

Hello,

 

It should be added manually, since Power BI won't know which columns to add and it won't add by default.



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

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.

Top Solution Authors
Top Kudoed Authors