<?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: Combining OR &amp;amp; AND in multi-value parameters in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Combining-OR-amp-AND-in-multi-value-parameters/m-p/1850844#M19370</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="241986" data-lia-user-login="murali5431" class="lia-mention lia-mention-user"&gt;murali5431&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I reproduced your scene in report builder, Is your data source 'AS'?&amp;nbsp;I found that the choice of parameters is in the order of creating the parameters.&amp;nbsp;And if you choose multiple options, it can't contain a null value by default. And it seems that only the value can be customized, and the interaction between the parameters can't be controlled.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you still have problems, please feel free to ask me.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Janey Guo&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to help the other members find it more quickly.&lt;/P&gt;</description>
    <pubDate>Wed, 19 May 2021 09:29:26 GMT</pubDate>
    <dc:creator>v-janeyg-msft</dc:creator>
    <dc:date>2021-05-19T09:29:26Z</dc:date>
    <item>
      <title>Combining OR &amp; AND in multi-value parameters</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Combining-OR-amp-AND-in-multi-value-parameters/m-p/1846093#M19342</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 3 parameters in my report query. The system generated DAX is as follows. I need to modify below query such that either I&amp;nbsp;enter a combination of&amp;nbsp;[CNTR] &amp;amp;&amp;nbsp;[CNTR_DT] or enter just enter&amp;nbsp;[SUPP_LD_NO] as the parameter, leaving other two fields blank.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EVALUATE SUMMARIZECOLUMNS('Data'[CNTR], 'Data'[CNTR_DT], 'Data'[SUPP_LD_NO], RSCustomDaxFilter(@DataCNTR,EqualToCondition,[Data].[CNTR],String), RSCustomDaxFilter(@DataCNTRDT,EqualToCondition,[Data].[CNTR_DT],DateTime), RSCustomDaxFilter(@DataSUPPLDNO,EqualToCondition,[Data].[SUPP_LD_NO],String))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Assuming I was clear with my requirement, please assist.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Muralidhar&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 11:32:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Combining-OR-amp-AND-in-multi-value-parameters/m-p/1846093#M19342</guid>
      <dc:creator>murali5431</dc:creator>
      <dc:date>2021-05-17T11:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: Combining OR &amp; AND in multi-value parameters</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Combining-OR-amp-AND-in-multi-value-parameters/m-p/1850844#M19370</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="241986" data-lia-user-login="murali5431" class="lia-mention lia-mention-user"&gt;murali5431&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I reproduced your scene in report builder, Is your data source 'AS'?&amp;nbsp;I found that the choice of parameters is in the order of creating the parameters.&amp;nbsp;And if you choose multiple options, it can't contain a null value by default. And it seems that only the value can be customized, and the interaction between the parameters can't be controlled.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you still have problems, please feel free to ask me.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Janey Guo&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2021 09:29:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Combining-OR-amp-AND-in-multi-value-parameters/m-p/1850844#M19370</guid>
      <dc:creator>v-janeyg-msft</dc:creator>
      <dc:date>2021-05-19T09:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: Combining OR &amp; AND in multi-value parameters</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Combining-OR-amp-AND-in-multi-value-parameters/m-p/1853021#M19385</link>
      <description>&lt;P&gt;Hi Murali,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Use custom DAX query option and use the below code.&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Table = SUMMARIZECOLUMNS (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'Data'[CNTR], 'Data'[CNTR_DT], 'Data'[SUPP_LD_NO], &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FILTER (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Data,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;(FORMAT ( Data[CNTR_DT], "YYYY-MM-DD" )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;= FORMAT ("2020-01-01", "YYYY-MM-DD" )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;amp;&amp;amp; (PATHCONTAINS ( "A", DATA[CNTR] )))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;|| PATHCONTAINS ("1ABC", DATA[SUPP_LD_NO])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;You need to add expression for parameters - Join(Parametername,"|") as like to make it work. Also you need to handle ALL in case if it is blank&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Hari&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 20 May 2021 06:23:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Combining-OR-amp-AND-in-multi-value-parameters/m-p/1853021#M19385</guid>
      <dc:creator>Hariharan_R</dc:creator>
      <dc:date>2021-05-20T06:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: Combining OR &amp; AND in multi-value parameters</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Combining-OR-amp-AND-in-multi-value-parameters/m-p/1856812#M19420</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="118918" data-lia-user-login="Hariharan_R" class="lia-mention lia-mention-user"&gt;Hariharan_R&lt;/a&gt;&amp;nbsp;.. I am unable to replicate your suggestion into my program, as it is still asking me to enter values in other fields. Can you let me know how I can modify below to accomplish it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;EVALUATE SUMMARIZECOLUMNS('Data'[CNTR], 'Data'[CNTR_DT], 'Data'[SUPP_LD_NO], RSCustomDaxFilter(@DataCNTR,EqualToCondition,[Data].[CNTR],String), RSCustomDaxFilter(@DataCNTRDT,EqualToCondition,[Data].[CNTR_DT],DateTime), RSCustomDaxFilter(@DataSUPPLDNO,EqualToCondition,[Data].[SUPP_LD_NO],String))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for your help!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Muralidhar&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 12:01:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Combining-OR-amp-AND-in-multi-value-parameters/m-p/1856812#M19420</guid>
      <dc:creator>murali5431</dc:creator>
      <dc:date>2021-05-21T12:01:05Z</dc:date>
    </item>
  </channel>
</rss>

