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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
sanjay009
Helper III
Helper III

dynamic columns display in table selection

i have a table with column names A1 A2 A3, i created in power query as dynamic column names and created a visual table with A1 A2 A3 and other selections.

next month the column names changes to B1 B2 B3. 

 

on table visual, the selection is unchecked and visual link is broken as A1 A2 A3 doesn;t exist.

 

How can i fix this issue.

3 REPLIES 3
v-zhenbw-msft
Community Support
Community Support

Hi @sanjay009 ,

 

Do you want to automatically change the name of each column, replace A1 with B1, A2 with B2, and A3 with B3?

Or replace A1, A2, A3 in a column with B1, B2, B3?

What is your table structure? Is it screenshot one or screenshot two?

 

Dy1.jpg

 

Dy2.jpg

 

Could you please provide a mockup sample based on fake data or describe the fields of each tables and the relations between tables simply?

It will be helpful if you can show us the exact expected result based on the tables.

 

Please upload your files to OneDrive For Business and share the link here. Please don't contain any Confidential Information or Real data in your reply.

 

Best regards,

 

Community Support Team _ zhenbw

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@sanjay009 , in such case they should be in rows not column. Try to unpivot those

https://radacad.com/pivot-and-unpivot-with-power-bi
Transpose : https://yodalearning.com/tutorials/power-query-helps-transposing-data/

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here
Greg_Deckler
Super User
Super User

@sanjay009 - Yeah, that's a tremendously bad idea. You would need to unpivot those columns so that you end up with an Attribute column (column names) and a Values column (values).



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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