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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
gmooney100
Helper I
Helper I

Tabular Editor Find/Replace

Hello,

 

I am somewhat of a novice but had this question.

 

I am trying to replace a calculated measure name that I created in many Dax formulas with the actual column name in the data table.

 

Using TE I am doing Find/Replace for:

 

[SALES CHG] - My calculated measure

SUM([SALES DELTA]) - The SALES DATA table column name.

 

I click on SALES DATA table under TOM Explorer and then pull up FIND/REPLACE

 

I first do find and it finds 61 hits.

 

When I click on Replace all (for All Open Documents) it says replaced 0 occurances.

 

What am I doing wrong.

 

1 REPLY 1
v-heq-msft
Community Support
Community Support

Hi @gmooney100 ,
Based on your description, I checked the documentation. First, If you are trying to rename variables in a DAX statement (Expression or Script), Ctrl+R will let you refactor a selected variable.
Of course, you also need to make sure that the replacement character you enter has no spaces so that it matches the original text. Next, make sure you choose the correct scope. Finally, you can check to see if the change has occurred.
You can refer to this document for more details on Find/Replace in the Tabular Editor
Find/Replace | Tabular Editor Documentation

Best regards,

Albert He

 

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

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.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.