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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.