<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Multiple expressions.tmdl in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Multiple-expressions-tmdl/m-p/3727036#M49857</link>
    <description>&lt;DIV&gt;I'm playing around with Power BI Desktop PBIP projects and TMDL files. I store them on a GIT repository. Using GIT allows different developers to work together.&amp;nbsp;Among other things, the expressions.tmdl file contains the parameters. Like this one:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;expression MyLocalPath = "c:\testfolder\data\" meta [IsParameterQuery=true, Type="Text", IsParameterQueryRequired=true]&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;lineageTag: 10b71067-5bc0-4a58-a39d-b8f181356a4f&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;annotation PBI_NavigationStepName = Navigation&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;annotation PBI_ResultType = Text&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The parameter contains a local disk path. As you can guess, the value is different among the developers. E.g. I have data under "c:\testfolder\data\" and another dev could have data under "e:\anotherfolder".&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I would like to find a way to ignore the value of the parameter when I commit the tmdl file to GIT. This brings me to consider .gitignore file. But I do not want to ignore the full expressions.tmdl file. So I did a test. I created another tmdl file, named expressions.local.tmdl and moved the MyLocalPath parameter from expressions.tmdl to expressions.local.tmdl. Then I added expressions.local.tmdl to the .gitignore file.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Immagine 2024-02-27 101301.png" style="width: 197px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1050082i1A39715A908019AA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Immagine 2024-02-27 101301.png" alt="Immagine 2024-02-27 101301.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Then I opened the PBIP with Power BI. All the parameters are present. So expressions.local.tmdl has been read correctly.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Immagine 2024-02-27 101557.png" style="width: 279px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1050083i44097A8969C8AF78/image-dimensions/279x186?v=v2" width="279" height="186" role="button" title="Immagine 2024-02-27 101557.png" alt="Immagine 2024-02-27 101557.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;But when I saved the project from PowerBI, the file expressions.local.tmdl has been canceled and the parameter has been moved back to expressions.tmdl file and expressions.local.tmdl deleted.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Immagine 2024-02-27 101642.png" style="width: 207px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1050084iB206F890AB7CCD92/image-size/large?v=v2&amp;amp;px=999" role="button" title="Immagine 2024-02-27 101642.png" alt="Immagine 2024-02-27 101642.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Question: is there a way to avoid the merging of different expressions files into a single expressions.tmdl file when saving from Power BI?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Tue, 27 Feb 2024 09:55:01 GMT</pubDate>
    <dc:creator>fhtino</dc:creator>
    <dc:date>2024-02-27T09:55:01Z</dc:date>
    <item>
      <title>Multiple expressions.tmdl</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Multiple-expressions-tmdl/m-p/3727036#M49857</link>
      <description>&lt;DIV&gt;I'm playing around with Power BI Desktop PBIP projects and TMDL files. I store them on a GIT repository. Using GIT allows different developers to work together.&amp;nbsp;Among other things, the expressions.tmdl file contains the parameters. Like this one:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;expression MyLocalPath = "c:\testfolder\data\" meta [IsParameterQuery=true, Type="Text", IsParameterQueryRequired=true]&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;lineageTag: 10b71067-5bc0-4a58-a39d-b8f181356a4f&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;annotation PBI_NavigationStepName = Navigation&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;annotation PBI_ResultType = Text&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The parameter contains a local disk path. As you can guess, the value is different among the developers. E.g. I have data under "c:\testfolder\data\" and another dev could have data under "e:\anotherfolder".&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I would like to find a way to ignore the value of the parameter when I commit the tmdl file to GIT. This brings me to consider .gitignore file. But I do not want to ignore the full expressions.tmdl file. So I did a test. I created another tmdl file, named expressions.local.tmdl and moved the MyLocalPath parameter from expressions.tmdl to expressions.local.tmdl. Then I added expressions.local.tmdl to the .gitignore file.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Immagine 2024-02-27 101301.png" style="width: 197px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1050082i1A39715A908019AA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Immagine 2024-02-27 101301.png" alt="Immagine 2024-02-27 101301.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Then I opened the PBIP with Power BI. All the parameters are present. So expressions.local.tmdl has been read correctly.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Immagine 2024-02-27 101557.png" style="width: 279px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1050083i44097A8969C8AF78/image-dimensions/279x186?v=v2" width="279" height="186" role="button" title="Immagine 2024-02-27 101557.png" alt="Immagine 2024-02-27 101557.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;But when I saved the project from PowerBI, the file expressions.local.tmdl has been canceled and the parameter has been moved back to expressions.tmdl file and expressions.local.tmdl deleted.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Immagine 2024-02-27 101642.png" style="width: 207px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1050084iB206F890AB7CCD92/image-size/large?v=v2&amp;amp;px=999" role="button" title="Immagine 2024-02-27 101642.png" alt="Immagine 2024-02-27 101642.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Question: is there a way to avoid the merging of different expressions files into a single expressions.tmdl file when saving from Power BI?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 27 Feb 2024 09:55:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Multiple-expressions-tmdl/m-p/3727036#M49857</guid>
      <dc:creator>fhtino</dc:creator>
      <dc:date>2024-02-27T09:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple expressions.tmdl</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Multiple-expressions-tmdl/m-p/3728652#M49897</link>
      <description>&lt;P&gt;Great idea.&amp;nbsp; See if you can get Matthias' attention.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this is important to you please consider voting for an existing idea or raising a new one at &lt;A href="https://ideas.fabric.microsoft.com/?forum=2d80fd4a-16cb-4189-896b-e0dac5e08b41" target="_blank" rel="noopener"&gt;https://ideas.fabric.microsoft.com/?forum=2d80fd4a-16cb-4189-896b-e0dac5e08b41&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note:&amp;nbsp; Parameters and Expressions are NOT the same thing.&amp;nbsp; Expressions are all the artefacts that are not Partitions (which are loaded into VertiPaq).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note2:&amp;nbsp; Parameters pointing to local folders will be useless in the service anyway.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 20:47:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Multiple-expressions-tmdl/m-p/3728652#M49897</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-02-27T20:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple expressions.tmdl</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Multiple-expressions-tmdl/m-p/3729500#M49905</link>
      <description>&lt;P&gt;Sorry for the confusion about Parameters and Expressions. I am a Power BI basic user struggling to find a way to store power bi projects under GIT.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Local paths: yes, you are right. Absolutely not useful in the service but very important for local activities, in particular during development phases if more than one dev works on the same project, or same dev from different PC. Apart from paths, there could be other parameters tied to local settings. So an "externalization" feature, at least only just for parameters, would be very useul.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Idea:&amp;nbsp;&lt;A href="https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=b467731c-fdd5-ee11-92bd-000d3a0f7b2e" target="_blank"&gt;https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=b467731c-fdd5-ee11-92bd-000d3a0f7b2e&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 05:50:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Multiple-expressions-tmdl/m-p/3729500#M49905</guid>
      <dc:creator>fhtino</dc:creator>
      <dc:date>2024-02-28T05:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple expressions.tmdl</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Multiple-expressions-tmdl/m-p/3870121#M52014</link>
      <description>&lt;P&gt;Voted on this idea!&lt;/P&gt;&lt;P&gt;If all queries on Power Query would be generated alone (loaded and not loaded), this would be wonderfull. So we could add them to .gitignore&lt;BR /&gt;Also a better and more organized way to represent report visuals would be wonderfull too.&lt;/P&gt;&lt;P&gt;Can't wait for the PBIB updates!&lt;BR /&gt;All this is too much important!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 06:08:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Multiple-expressions-tmdl/m-p/3870121#M52014</guid>
      <dc:creator>bluedatenbrian</dc:creator>
      <dc:date>2024-04-26T06:08:31Z</dc:date>
    </item>
  </channel>
</rss>

