<?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 To have parameter in if condition in power BI in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/To-have-parameter-in-if-condition-in-power-BI/m-p/3121718#M110730</link>
    <description>&lt;P&gt;I have creted a parameter using enter data. Now I need to create a calculated field to include that in filter.&lt;/P&gt;&lt;P&gt;Calculated field is :&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Parameter1] = ""&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;CONTAINS([parameter1], [column1] )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I do this in power BI as in if condition I am not able to call the parameter&lt;/P&gt;</description>
    <pubDate>Thu, 09 Mar 2023 14:14:47 GMT</pubDate>
    <dc:creator>asdf1608</dc:creator>
    <dc:date>2023-03-09T14:14:47Z</dc:date>
    <item>
      <title>To have parameter in if condition in power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/To-have-parameter-in-if-condition-in-power-BI/m-p/3121718#M110730</link>
      <description>&lt;P&gt;I have creted a parameter using enter data. Now I need to create a calculated field to include that in filter.&lt;/P&gt;&lt;P&gt;Calculated field is :&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Parameter1] = ""&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;CONTAINS([parameter1], [column1] )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I do this in power BI as in if condition I am not able to call the parameter&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 14:14:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/To-have-parameter-in-if-condition-in-power-BI/m-p/3121718#M110730</guid>
      <dc:creator>asdf1608</dc:creator>
      <dc:date>2023-03-09T14:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: To have parameter in if condition in power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/To-have-parameter-in-if-condition-in-power-BI/m-p/3121900#M110746</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="489776" data-lia-user-login="asdf1608" class="lia-mention lia-mention-user"&gt;asdf1608&lt;/a&gt; , You can use in measure not in column &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Countx(Table,&lt;/P&gt;
&lt;P&gt;[Parameter1] = ""&lt;/P&gt;
&lt;P&gt;OR&lt;/P&gt;
&lt;P&gt;CONTAINS([parameter1], [column1] ) )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and then you show it in visual at line level&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 15:20:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/To-have-parameter-in-if-condition-in-power-BI/m-p/3121900#M110746</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2023-03-09T15:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: To have parameter in if condition in power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/To-have-parameter-in-if-condition-in-power-BI/m-p/3121946#M110755</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp; This is not working if the column is from different table. Abd this created field will act as filter. Yes/NO filter in tableau. How do I get this in power BI?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help in this&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 15:33:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/To-have-parameter-in-if-condition-in-power-BI/m-p/3121946#M110755</guid>
      <dc:creator>asdf1608</dc:creator>
      <dc:date>2023-03-09T15:33:16Z</dc:date>
    </item>
  </channel>
</rss>

