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

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

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
Super User
Super User

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
Super User
Super User

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.