<?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 Passing measure into a calculated column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Passing-measure-into-a-calculated-column/m-p/2825016#M89797</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Struggling with this. How can i pass a measure into an if/switch stament.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This will be used to format colours - not sure how to get around this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Measure = SWITCH(TRUE() , 'Calculations Table'[DSA%_Late] &amp;lt;&amp;gt; 'Construct_Supplier Ruling'[DSA_Amb_Target} &amp;amp; 'Construct_Supplier Ruling'[DSA_Grn_Target] , 3 )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Oct 2022 08:26:05 GMT</pubDate>
    <dc:creator>Jackbaz99</dc:creator>
    <dc:date>2022-10-07T08:26:05Z</dc:date>
    <item>
      <title>Passing measure into a calculated column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Passing-measure-into-a-calculated-column/m-p/2825016#M89797</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Struggling with this. How can i pass a measure into an if/switch stament.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This will be used to format colours - not sure how to get around this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Measure = SWITCH(TRUE() , 'Calculations Table'[DSA%_Late] &amp;lt;&amp;gt; 'Construct_Supplier Ruling'[DSA_Amb_Target} &amp;amp; 'Construct_Supplier Ruling'[DSA_Grn_Target] , 3 )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2022 08:26:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Passing-measure-into-a-calculated-column/m-p/2825016#M89797</guid>
      <dc:creator>Jackbaz99</dc:creator>
      <dc:date>2022-10-07T08:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: Passing measure into a calculated column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Passing-measure-into-a-calculated-column/m-p/2825516#M89830</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Measures should never be preceded with the table name they reside in.&amp;nbsp;&lt;/STRONG&gt;On the other hand, columns should always be. Please stick to this rule because if you don't, others will have (and do have!) a very hard time reading and understanding the code. Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2022 11:03:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Passing-measure-into-a-calculated-column/m-p/2825516#M89830</guid>
      <dc:creator>daXtreme</dc:creator>
      <dc:date>2022-10-07T11:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Passing measure into a calculated column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Passing-measure-into-a-calculated-column/m-p/2853415#M91590</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="251189" data-lia-user-login="Jackbaz99" class="lia-mention lia-mention-user"&gt;Jackbaz99&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Invalid code can't help us understand your problem, please try to use pictures and text to describe your needs.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Eason&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2022 10:13:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Passing-measure-into-a-calculated-column/m-p/2853415#M91590</guid>
      <dc:creator>v-easonf-msft</dc:creator>
      <dc:date>2022-10-20T10:13:11Z</dc:date>
    </item>
  </channel>
</rss>

