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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
AfsanehM53
New Member

How can i change the table and field names used in a measure dynamically?

Hi everybody,

 

I have a Power BI dashboard, with Dim and Fact tables and a table of measures that all comes from SQL Database.  I need to use the existing template with another SQL server and Database. The table names and some of the field names in the new SQL Database is different from the original source SQL Database.

 

Is there a way that I can dynamically change the name of tables and fields that I have used in the measures?  Currently I have to go and manually chnge table and field names in every measure.  Any help would be appreciated.

 

Thanks,

Afsaneh

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@AfsanehM53 ,

 

Unfortunately, you can not change in one go.

You should consider changing it manually one by one.

 

Appreciate your kudos !! Mark this post as solution if this helps you.

View solution in original post

3 REPLIES 3
Greg_Deckler
Community Champion
Community Champion

@AfsanehM53 Can you not just rename the tables and field names to the old names when importing the data? 



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!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Thanks for the response.

 

No I need to use the same template for another region. This means they have different terminologies that should be used in the dashboard, e.g. my field is called Supplier but I should replace it with Vendor.

Anonymous
Not applicable

@AfsanehM53 ,

 

Unfortunately, you can not change in one go.

You should consider changing it manually one by one.

 

Appreciate your kudos !! Mark this post as solution if this helps you.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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