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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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

@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!:
Power BI Cookbook Third Edition (Color)

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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