Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I've had some success pulling the semantic model via REST api and updating the name inside BUT I would like to update the LineageTags of the fields when I perform a 'clone' operation within my project (my project is a webapp that embeds powerbi).
I get the model content which is a list of section keys with base64 encoded values. The issue is that when I decode those values I am not getting json - it's just strangely formatted text. Is there some way to extract it in a different format so that it's easier to manipulate/update? Below is an example of one table's section in the model. Any advice? TIA!
Solved! Go to Solution.
That is TMDL, bit like YAML for semantic model
Assume you use Get Item Definition Fabric API.
There is format part to the URL.
In the item definition it list formats as TMSL and TMDL
TMSL is the JSON version, so could try calling that. Should give you model.bim.
You can also use the C# libraries to convert between format
This worked perfectly - I was scanning the help for 'json' and didn't realize that 'tmsl' was the same thing. Thank you so much!!!
Ah! Thank you so much. I will check into that.
That is TMDL, bit like YAML for semantic model
Assume you use Get Item Definition Fabric API.
There is format part to the URL.
In the item definition it list formats as TMSL and TMDL
TMSL is the JSON version, so could try calling that. Should give you model.bim.
You can also use the C# libraries to convert between format
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
35 | |
22 | |
21 | |
14 | |
12 |
User | Count |
---|---|
28 | |
18 | |
16 | |
16 | |
14 |