<?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 Multiplying a column by filtering on a calculated column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiplying-a-column-by-filtering-on-a-calculated-column/m-p/3336225#M125124</link>
    <description>&lt;P&gt;Hi all!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking for a DAX formula that can do the following:&lt;/P&gt;&lt;P&gt;multiply the column "FTEquiv" (in the table sheet1) by:&lt;/P&gt;&lt;P&gt;0.9 if the calculated column "Column2" in the 'Pathways SU Data' table is "Block Contract"&lt;/P&gt;&lt;P&gt;by:&lt;/P&gt;&lt;P&gt;1 if&amp;nbsp;the calculated column "Column2" in the 'Pathways SU Data' table is "1:1"&lt;/P&gt;&lt;P&gt;and by:&lt;/P&gt;&lt;P&gt;2 if&amp;nbsp;the calculated column "Column2" in the 'Pathways SU Data' table is "2:1"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Jul 2023 10:28:46 GMT</pubDate>
    <dc:creator>cammar</dc:creator>
    <dc:date>2023-07-18T10:28:46Z</dc:date>
    <item>
      <title>Multiplying a column by filtering on a calculated column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiplying-a-column-by-filtering-on-a-calculated-column/m-p/3336225#M125124</link>
      <description>&lt;P&gt;Hi all!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking for a DAX formula that can do the following:&lt;/P&gt;&lt;P&gt;multiply the column "FTEquiv" (in the table sheet1) by:&lt;/P&gt;&lt;P&gt;0.9 if the calculated column "Column2" in the 'Pathways SU Data' table is "Block Contract"&lt;/P&gt;&lt;P&gt;by:&lt;/P&gt;&lt;P&gt;1 if&amp;nbsp;the calculated column "Column2" in the 'Pathways SU Data' table is "1:1"&lt;/P&gt;&lt;P&gt;and by:&lt;/P&gt;&lt;P&gt;2 if&amp;nbsp;the calculated column "Column2" in the 'Pathways SU Data' table is "2:1"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2023 10:28:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiplying-a-column-by-filtering-on-a-calculated-column/m-p/3336225#M125124</guid>
      <dc:creator>cammar</dc:creator>
      <dc:date>2023-07-18T10:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: Multiplying a column by filtering on a calculated column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiplying-a-column-by-filtering-on-a-calculated-column/m-p/3336632#M125144</link>
      <description>&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;mycolumn =
SWITCH (
    TRUE (),
    Table[col2] = "Block Contract", .9,
    Table[col2] = "1:1", 1,
    Table[col2] = "2:1", 2
) * Table[FTEquiv]
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="471948" data-lia-user-login="cammar" class="lia-mention lia-mention-user"&gt;cammar&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;You don't say, so this is a calculated column.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Let me know if you have any questions.&lt;BR /&gt;&lt;BR /&gt;If this solves your issues, please mark it as the &lt;STRONG&gt;solution, &lt;/STRONG&gt;so that others can find it easily. &lt;STRONG&gt;Kudos &lt;/STRONG&gt;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;are nice too.&lt;BR /&gt;Nathaniel&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jul 2023 16:50:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiplying-a-column-by-filtering-on-a-calculated-column/m-p/3336632#M125144</guid>
      <dc:creator>Nathaniel_C</dc:creator>
      <dc:date>2023-07-22T16:50:46Z</dc:date>
    </item>
  </channel>
</rss>

