The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Is it possible to apply refactoring to a colum name for any of its instance (source column, calculated column, calculation group, measures) all at once from code editor of the TMDL view?
To simplify, How can I rename a column (tbl_1[colA]) only at source table and be assured that all the relevant dependecncies to be updated at once (any calculated column using tbl_1[colA], calculation group using tbl_1[colA], measures using tbl_1[colA])? and not simply changing all occurence of colA cause tbl_1 and tbl_2 both has colA.
Does TMDL code editor in pbi let me do this? I am also open to VS code
VS code lets you do that like this
Hi @smpa01 ,
After testing, I'm afraid the functionality you mentioned is not available at this time.
When editing a Power BI TMDL file in VS code, after modifying a column name, there is no prompt to guide you to modify other instances that reference this column.
You need to do it manually or use advanced C# scripts in Tabluar Editor.
Best Regards,
Dengliang Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
60 | |
55 | |
53 | |
49 | |
30 |
User | Count |
---|---|
179 | |
87 | |
70 | |
48 | |
45 |