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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
cathoms
Helper V
Helper V

How can I change column heading across multiple tables

Starting from a flat file I created a lookup/DIM table with entity names and entity_id's, merged the table with my fact tables and removed entity names column from my fact tables. So I have the following situation:

 

two separate fact tables with "entity_id" column (each table is for a different set of hospitals with slightly different metrics)

cathoms_0-1610137658167.png

 

one "entity_lookup" table with "entity_id" column and "Entity" column

cathoms_1-1610137761115.png

 

As a result, one of my filters reads "Entity"

cathoms_2-1610137889670.png

 

After creating my report/dashboard and looking at it from a user perspective, it occurs to me that it would be easier for the end-user if the filter was called "Hospital" instead of "Entity". When I tried renaming columns I ran into errors because Power BI couldn't find the connections needed. How can I change all the instances of "entity" or "Entity" in column headings across my three tables/queries to "Hospital"?

 

Or, is there some other way to approach this?

 

Thanks in advance!

 

1 ACCEPTED SOLUTION
parry2k
Super User
Super User

@cathoms you need to make this change in PQ for each table, not sure if there is a global way to make this change.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

View solution in original post

3 REPLIES 3
parry2k
Super User
Super User

@cathoms order doesn't matter. good luck!

 

Check my latest blog post Year-2020, Pandemic, Power BI and Beyond to get a summary of my favourite Power BI feature releases in 2020

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

parry2k
Super User
Super User

@cathoms you need to make this change in PQ for each table, not sure if there is a global way to make this change.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

@parry2k  So just manually start renaming the columns? Does it matter what order I do this in? That is, should I do the look up table first or the fact tables or does it not matter?

 

Thanks!

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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