Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi,
I have created a TMDL script snippet (a formattet calendar table, eg. created spaces in column names) that I want to reuse in other models.
When I create a new model, implement the script and click apply in TMDL view, the formattet table shows up. However, when I refresh the model within Power BI desktop, the table reformats to the source column names. I then need to go back to TMDL view and click apply again.
Am I doing something wrong so it can be avoided?
My test script is:
Solved! Go to Solution.
Hi @thod,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please "Accept as Solution" and give a 'Kudos' so other members can easily find it.
Thank you,
Pavan.
Hi @thod ,
This functionality was just released in the new Power BI desktop version of May. So you can now if you rename the columns the values persist without the need to have a step on Power Query.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @thod,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please "Accept as Solution" and give a 'Kudos' so other members can easily find it.
Thank you,
Pavan.
Hi @thod,
Thank you for reaching out in Microsoft Community Forum.
Thank you @MFelixfor the helpful responses.
As suggested by MFelix, I hope this information was helpful. Please let me know if you have any further questions or you'd like to discuss this further. If this answers your question, please "Accept as Solution" and give it a 'Kudos' so others can find it easily.
Please continue using Microsoft community forum.
Regards,
Pavan.
Hi @thod ,
This feature is still on preview, I believe that what is happening is that since you are applying the TMDL on top of the table you have on your model, it does not create the additional step of the rename in M language causing it to not recognize at the first run.
I would send this to the feedback form
https://powerbi.microsoft.com/en-us/blog/deep-dive-into-tmdl-view-for-power-bi-desktop-preview/
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsThis could be a bug, especially as its still a preview feature. I'd use the "Submit feedback" button in TMDL view to let MS know.
As a workaround you could do your column renaming either in SQL or in Power Query. That should get picked up and remembered when you do a refresh.
Yes, I already gave the feedback. Just wanted to know if anyone here had experienced the same thing and found a solution 🙂
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
76 | |
76 | |
55 | |
37 | |
34 |
User | Count |
---|---|
99 | |
56 | |
53 | |
44 | |
40 |