<?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 Re: IF Statement plus Multiplication using static number in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-Statement-plus-Multiplication-using-static-number/m-p/3242022#M155845</link>
    <description>&lt;P&gt;Again, it doesn't allow me to select a table, only the other measures I have.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would any screen shot help? Not sure of what to be honest hehe I think the issue is the aggregation after the IF, isn't it?&lt;/P&gt;</description>
    <pubDate>Thu, 18 May 2023 10:40:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-05-18T10:40:10Z</dc:date>
    <item>
      <title>IF Statement plus Multiplication using static number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-Statement-plus-Multiplication-using-static-number/m-p/3241854#M155836</link>
      <description>&lt;P&gt;Hi all!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry if it's a silly one (because I feel like it should be a pretty straight forward one), but can I have help with the below please.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to replicate the formulae below in Power BI:&lt;/P&gt;&lt;P&gt;=IF(Y2="Y",(AL2*0.25),0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where:&lt;/P&gt;&lt;P&gt;Y2 =&amp;nbsp; would be the column in Power BI with the criteria I want to meet&lt;/P&gt;&lt;P&gt;AL2 = the second column I want to multiply the value by the Gift Aid rate&lt;/P&gt;&lt;P&gt;0.25 = 25% of Gift Aid rate (static number, not a column)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically, I need to meet a condition in a column so I can multiply the second one based on a static rate number.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it because the number I need to multiply by is not a column instead?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ana&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 09:17:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-Statement-plus-Multiplication-using-static-number/m-p/3241854#M155836</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-18T09:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: IF Statement plus Multiplication using static number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-Statement-plus-Multiplication-using-static-number/m-p/3241920#M155837</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;BR /&gt;Try this calculation ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Measure = IF(SUM('Table'[Y2])= "Y",CALCULATE(SUM('Table'[AL2])*0.25)),0)&lt;/LI-CODE&gt;&lt;P&gt;if you want to have 0.25 or 25 % in column you can do that just you need to aggregate and then multiple .&lt;BR /&gt;For example :-&lt;BR /&gt;Where gift = 25 %&lt;BR /&gt;Measure = IF(SUM('Table'[Y2])= "Y",CALCULATE(SUM('Table'[AL2])*(SUM('Table'[Gift])/100)),0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks ,&lt;BR /&gt;Pratyasha Samal&lt;BR /&gt;&lt;SPAN&gt;Has this post solved your problem? Please&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Accept as Solution&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;so that others can find it quickly and to let the community know your problem has been solved.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you found this post helpful, please give&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Kudos&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="Wingdings" size="14px"&gt;C&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 09:46:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-Statement-plus-Multiplication-using-static-number/m-p/3241920#M155837</guid>
      <dc:creator>pratyashasamal</dc:creator>
      <dc:date>2023-05-18T09:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: IF Statement plus Multiplication using static number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-Statement-plus-Multiplication-using-static-number/m-p/3241939#M155838</link>
      <description>&lt;P&gt;Thansk for that. Just tried but it's saying it's incorrect:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ana&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 09:56:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-Statement-plus-Multiplication-using-static-number/m-p/3241939#M155838</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-18T09:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: IF Statement plus Multiplication using static number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-Statement-plus-Multiplication-using-static-number/m-p/3241959#M155839</link>
      <description>&lt;LI-CODE lang="markup"&gt;Measure = IF('Table'[Y2]= "Y",CALCULATE(SUM('Table'[AL2])*0.25),0)&lt;/LI-CODE&gt;&lt;P&gt;Try this&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 10:01:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-Statement-plus-Multiplication-using-static-number/m-p/3241959#M155839</guid>
      <dc:creator>pratyashasamal</dc:creator>
      <dc:date>2023-05-18T10:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: IF Statement plus Multiplication using static number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-Statement-plus-Multiplication-using-static-number/m-p/3241975#M155840</link>
      <description>&lt;P&gt;Didn't work again:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I'll probably create an extra column for the 25%.&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 10:15:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-Statement-plus-Multiplication-using-static-number/m-p/3241975#M155840</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-18T10:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: IF Statement plus Multiplication using static number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-Statement-plus-Multiplication-using-static-number/m-p/3241981#M155841</link>
      <description>&lt;P&gt;No need what is data type of GiftAid column ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 10:22:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-Statement-plus-Multiplication-using-static-number/m-p/3241981#M155841</guid>
      <dc:creator>pratyashasamal</dc:creator>
      <dc:date>2023-05-18T10:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: IF Statement plus Multiplication using static number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-Statement-plus-Multiplication-using-static-number/m-p/3241984#M155842</link>
      <description>&lt;P&gt;Try this once,&lt;BR /&gt;This will work only from the Y2 column (GiftAid) column datatype is text and it also has a value of Yes in it . Exact function will match the Y2 column with Yes text and return a True / false column .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Measure = IF(Exact('Table'[Y2],"Yes"),CALCULATE(SUM('Table'[AL2])*0.25),0)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 10:27:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-Statement-plus-Multiplication-using-static-number/m-p/3241984#M155842</guid>
      <dc:creator>pratyashasamal</dc:creator>
      <dc:date>2023-05-18T10:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: IF Statement plus Multiplication using static number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-Statement-plus-Multiplication-using-static-number/m-p/3242001#M155843</link>
      <description>&lt;P&gt;Sorry, also didn't work. After the "Exact", it doesn't allow me to chose a table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GiftAid column is Text&lt;/P&gt;&lt;P&gt;Amount column is Decimal number.&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 10:32:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-Statement-plus-Multiplication-using-static-number/m-p/3242001#M155843</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-18T10:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: IF Statement plus Multiplication using static number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-Statement-plus-Multiplication-using-static-number/m-p/3242009#M155844</link>
      <description>&lt;LI-CODE lang="markup"&gt;Measure = IF('Table'[Y2] == "Yes",CALCULATE(SUM('Table'[AL2])*0.25),0)&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 18 May 2023 10:34:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-Statement-plus-Multiplication-using-static-number/m-p/3242009#M155844</guid>
      <dc:creator>pratyashasamal</dc:creator>
      <dc:date>2023-05-18T10:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: IF Statement plus Multiplication using static number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-Statement-plus-Multiplication-using-static-number/m-p/3242022#M155845</link>
      <description>&lt;P&gt;Again, it doesn't allow me to select a table, only the other measures I have.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would any screen shot help? Not sure of what to be honest hehe I think the issue is the aggregation after the IF, isn't it?&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 10:40:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-Statement-plus-Multiplication-using-static-number/m-p/3242022#M155845</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-18T10:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: IF Statement plus Multiplication using static number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-Statement-plus-Multiplication-using-static-number/m-p/3242059#M155846</link>
      <description>&lt;P&gt;This is ss ,&amp;nbsp;&lt;BR /&gt;Measure 3 is where is am checking if the condition is Yes or not .&lt;BR /&gt;Then multiplying it with my sales value .&lt;BR /&gt;and Measure 2 is a simple measure with "Yes" or "No" values.&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 10:52:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-Statement-plus-Multiplication-using-static-number/m-p/3242059#M155846</guid>
      <dc:creator>pratyashasamal</dc:creator>
      <dc:date>2023-05-18T10:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: IF Statement plus Multiplication using static number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-Statement-plus-Multiplication-using-static-number/m-p/3242084#M155847</link>
      <description>&lt;P&gt;Below is an example of my data:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;This is what I get when trying your latest statement:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even if I type the table/column, still it doesn't work. Both columns ("GiftAid" and "amount") used for the calculation are from the same table. But I don't think it should matter, should it?&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 11:02:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-Statement-plus-Multiplication-using-static-number/m-p/3242084#M155847</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-18T11:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: IF Statement plus Multiplication using static number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-Statement-plus-Multiplication-using-static-number/m-p/3242114#M155848</link>
      <description>&lt;P&gt;Please check once what is the datatype of GiftAid column and change it to text if it not a text .&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 11:16:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-Statement-plus-Multiplication-using-static-number/m-p/3242114#M155848</guid>
      <dc:creator>pratyashasamal</dc:creator>
      <dc:date>2023-05-18T11:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: IF Statement plus Multiplication using static number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-Statement-plus-Multiplication-using-static-number/m-p/3242126#M155849</link>
      <description>&lt;P&gt;It is a Text. And it's not a measure, it's a column.&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 11:22:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-Statement-plus-Multiplication-using-static-number/m-p/3242126#M155849</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-18T11:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: IF Statement plus Multiplication using static number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-Statement-plus-Multiplication-using-static-number/m-p/3247120#M155850</link>
      <description>&lt;P&gt;I found the answer here -&amp;gt;&amp;nbsp;&lt;A href="https://www.enjoysharepoint.com/power-bi-measure-multiply/" target="_blank"&gt;https://www.enjoysharepoint.com/power-bi-measure-multiply/&lt;/A&gt;&amp;nbsp;(Power BI Measure multiply by 100).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;_GA Income Calcs = &lt;/SPAN&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SELECTEDVALUE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Single Donations'&lt;/SPAN&gt;&lt;SPAN&gt;[GiftAid]&lt;/SPAN&gt;&lt;SPAN&gt;) = &lt;/SPAN&gt;&lt;SPAN&gt;"Yes"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SELECTEDVALUE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Single Donations'&lt;/SPAN&gt;&lt;SPAN&gt;[amount]&lt;/SPAN&gt;&lt;SPAN&gt;) * &lt;/SPAN&gt;&lt;SPAN&gt;0.25&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Single Donations'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'Single Donations'&lt;/SPAN&gt;&lt;SPAN&gt;[GiftAid]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"Yes"&lt;/SPAN&gt;&lt;SPAN&gt;)), &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Thank you so much for all your help with this,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="483087" data-lia-user-login="pratyashasamal" class="lia-mention lia-mention-user"&gt;pratyashasamal&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 09:34:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-Statement-plus-Multiplication-using-static-number/m-p/3247120#M155850</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-22T09:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: IF Statement plus Multiplication using static number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-Statement-plus-Multiplication-using-static-number/m-p/3999734#M155851</link>
      <description>&lt;P&gt;I am trying to use the basic element of this and struggling its not accepting the argument for me&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;GA Income Calcs =&lt;/SPAN&gt; &lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SELECTEDVALUE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'vw_Transactions'&lt;/SPAN&gt;&lt;SPAN&gt;[GiftAidStatus]&lt;/SPAN&gt;&lt;SPAN&gt;) = &lt;/SPAN&gt;&lt;SPAN&gt;"TRUE"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SELECTEDVALUE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'vw_Transactions'&lt;/SPAN&gt;&lt;SPAN&gt;[DiscountedValue]&lt;/SPAN&gt;&lt;SPAN&gt;) * &lt;/SPAN&gt;&lt;SPAN&gt;0.25&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'vw_Transactions'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'vw_Transactions'&lt;/SPAN&gt;&lt;SPAN&gt;[GiftAidStatus]&lt;/SPAN&gt;&lt;SPAN&gt;) = &lt;/SPAN&gt;&lt;SPAN&gt;"TRUE"&lt;/SPAN&gt;&lt;SPAN&gt;)),&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;i get this&lt;BR /&gt;The syntax for ',' is incorrect. (DAX(IF(SELECTEDVALUE('vw_Transactions'[GiftAidStatus]) = "TRUE", CALCULATE(SELECTEDVALUE(vw_Transactions[DiscountedValue]) * 0.25, FILTER(vw_Transactions,vw_Transactions[GiftAidStatus]) = "TRUE")),0))).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I honestly cant see what i am doing wrong because based on the info on this post and aligning to my own data this should work?&amp;nbsp; I am new to powerbi only been a user for a few weeks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new t&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2024 08:18:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-Statement-plus-Multiplication-using-static-number/m-p/3999734#M155851</guid>
      <dc:creator>LukeFPowerBI</dc:creator>
      <dc:date>2024-06-19T08:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: IF Statement plus Multiplication using static number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-Statement-plus-Multiplication-using-static-number/m-p/3999754#M155852</link>
      <description>&lt;P&gt;Can you help I have copied your answer but getting errors&lt;/P&gt;&lt;P&gt;I am trying to use the basic element of this and struggling its not accepting the argument for me&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;GA Income Calcs =&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SELECTEDVALUE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'vw_Transactions'&lt;/SPAN&gt;&lt;SPAN&gt;[GiftAidStatus]&lt;/SPAN&gt;&lt;SPAN&gt;) =&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"TRUE"&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SELECTEDVALUE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'vw_Transactions'&lt;/SPAN&gt;&lt;SPAN&gt;[DiscountedValue]&lt;/SPAN&gt;&lt;SPAN&gt;) *&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;0.25&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'vw_Transactions'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'vw_Transactions'&lt;/SPAN&gt;&lt;SPAN&gt;[GiftAidStatus]&lt;/SPAN&gt;&lt;SPAN&gt;) =&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"TRUE"&lt;/SPAN&gt;&lt;SPAN&gt;)),&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;i get this&lt;BR /&gt;The syntax for ',' is incorrect. (DAX(IF(SELECTEDVALUE('vw_Transactions'[GiftAidStatus]) = "TRUE", CALCULATE(SELECTEDVALUE(vw_Transactions[DiscountedValue]) * 0.25, FILTER(vw_Transactions,vw_Transactions[GiftAidStatus]) = "TRUE")),0))).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I honestly cant see what i am doing wrong because based on the info on this post and aligning to my own data this should work?&amp;nbsp; I am new to powerbi only been a user for a few weeks.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2024 08:27:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-Statement-plus-Multiplication-using-static-number/m-p/3999754#M155852</guid>
      <dc:creator>LukeFPowerBI</dc:creator>
      <dc:date>2024-06-19T08:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: IF Statement plus Multiplication using static number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-Statement-plus-Multiplication-using-static-number/m-p/3999793#M155853</link>
      <description>&lt;P&gt;I also tried the second tip&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Gift Aid Income =&lt;/SPAN&gt; &lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'vw_Transactions'&lt;/SPAN&gt;&lt;SPAN&gt;[IsGiftAided]&lt;/SPAN&gt;&lt;SPAN&gt;= &lt;/SPAN&gt;&lt;SPAN&gt;"TRUE"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'vw_Transactions'&lt;/SPAN&gt;&lt;SPAN&gt;[DiscountedValue]&lt;/SPAN&gt;&lt;SPAN&gt;)*&lt;/SPAN&gt;&lt;SPAN&gt;0.25&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;For some reason the first past the IF('vw_Transactions'[IsGiftAided]= "TRUE" seems to only want to pick up measures that are created and not table data.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 19 Jun 2024 08:44:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-Statement-plus-Multiplication-using-static-number/m-p/3999793#M155853</guid>
      <dc:creator>LukeFPowerBI</dc:creator>
      <dc:date>2024-06-19T08:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: IF Statement plus Multiplication using static number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-Statement-plus-Multiplication-using-static-number/m-p/3999924#M155854</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="496151" data-lia-user-login="LukeFPowerBI" class="lia-mention lia-mention-user"&gt;LukeFPowerBI&lt;/a&gt;&amp;nbsp;, please check my response to my own post here - I found a solution on that link I shared in my response. There is also the calculation I used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From what I rmember, that worked fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ana&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2024 10:14:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-Statement-plus-Multiplication-using-static-number/m-p/3999924#M155854</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-19T10:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: IF Statement plus Multiplication using static number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-Statement-plus-Multiplication-using-static-number/m-p/3999928#M155855</link>
      <description>&lt;P&gt;Hi I also tried this&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried the second tip&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Gift Aid Income =&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'vw_Transactions'&lt;/SPAN&gt;&lt;SPAN&gt;[IsGiftAided]&lt;/SPAN&gt;&lt;SPAN&gt;=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"TRUE"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'vw_Transactions'&lt;/SPAN&gt;&lt;SPAN&gt;[DiscountedValue]&lt;/SPAN&gt;&lt;SPAN&gt;)*&lt;/SPAN&gt;&lt;SPAN&gt;0.25&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;For some reason the first past the IF('vw_Transactions'[IsGiftAided]= "TRUE" seems to only want to pick up measures that are created and not table data.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 19 Jun 2024 10:19:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-Statement-plus-Multiplication-using-static-number/m-p/3999928#M155855</guid>
      <dc:creator>LukeFPowerBI</dc:creator>
      <dc:date>2024-06-19T10:19:53Z</dc:date>
    </item>
  </channel>
</rss>

