<?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: Power BI Report Builder: Filter Table using a Multi-value parameter in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Report-Builder-Filter-Table-using-a-Multi-value/m-p/764861#M20336</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/46514"&gt;@Gangula&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Even if I switch off the "Design mode", the expression is a little different. It doesn't have a SELECT function, it directly starts with EVALUATE.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Query Designer" style="width: 786px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/184490i7C079B796AB2C2ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="Query Designer.jpg" alt="Query Designer" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Query Designer&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/46514"&gt;@Gangula&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;The designer you're seeing relates to a SQL Server Analysis Services data source. These don't support transact-SQL (T-SQL). The connection type for your data source will need to be set to&amp;nbsp;&lt;STRONG&gt;Microsoft SQL Server&lt;/STRONG&gt; to work with the tutorial you've linked, e.g.:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 481px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/184618i73458F315FB0D5A6/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The report builder is pretty much the old builder for SSRS (SQL Server Reporting Services) with a new skin, so I believe that most "old" guides should still work, albeit looking a bit different.&lt;/P&gt;&lt;P&gt;If you're using a SSAS/Power BI dataset and want to work with multi-valued parameters, either of the following may help, as the syntax will be different to T-SQL:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://blog.crossjoin.co.uk/2012/06/01/handling-ssrs-multi-valued-parameters-in-dax-queries/" target="_self"&gt;Handling SSRS Multi-Valued Parameters in DAX Queries&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://prologika.com/ssrs-multivalue-parameters-in-dax/" target="_self"&gt;SSRS Multivalue Parameters in DAX&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If you're using T-SQL for your dataset (I see you have some output in your repor, so looks like something is working), you'd normally add &lt;FONT face="courier new,courier"&gt;IN (@Parameter)&lt;/FONT&gt; to your &lt;FONT face="courier new,courier"&gt;WHERE&lt;/FONT&gt; clause and the tool will dynamically generate the SQL before running against SQL Server proper.&lt;/P&gt;&lt;P&gt;Hopefully this helps you out a bit. If not, you may need to share an example of the query you're running and the parameter setup so that we can help to build it for you if you're not sure.&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;</description>
    <pubDate>Tue, 13 Aug 2019 06:25:46 GMT</pubDate>
    <dc:creator>dm-p</dc:creator>
    <dc:date>2019-08-13T06:25:46Z</dc:date>
    <item>
      <title>Power BI Report Builder: Filter Table using a Multi-value parameter</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Report-Builder-Filter-Table-using-a-Multi-value/m-p/764362#M20328</link>
      <description>&lt;P&gt;I have been searching online on how to filter a table in Power BI report builder using a Multi-value parameter.&amp;nbsp;I found &lt;A href="https://docs.microsoft.com/en-us/sql/reporting-services/tutorial-add-a-parameter-to-your-report-report-builder?view=sql-server-2017#to-change-a-parameter-from-single-to-multivalued" target="_blank" rel="noopener"&gt;this documentation&lt;/A&gt; from Microsoft, but this looks like it's based on old Query Designer.&lt;/P&gt;&lt;P&gt;I also found a &lt;A href="https://www.youtube.com/watch?v=YOAMpKK8iy8&amp;amp;list=PLNIs-AWhQzcmEFHyxCRwA_gb29WOz5SJU&amp;amp;index=12" target="_blank" rel="noopener"&gt;video in youtube&lt;/A&gt;, but even that doesn't help as it doesn't use a parameter to filter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I right-click on Dataset and click Query in the current report-builder, I do not see any expression to change &lt;STRONG&gt;equals sign&lt;/STRONG&gt; (=) to &lt;STRONG&gt;IN.&lt;/STRONG&gt; I don't see a Transact-SQL code, I have an interactive window to drag and drop fields.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even if I switch off the "Design mode", the expression is a little different. It doesn't have a SELECT function, it directly starts with EVALUATE.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Query Designer" style="width: 786px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/184490i7C079B796AB2C2ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="Query Designer.jpg" alt="Query Designer" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Query Designer&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have a parameter called "Multi_Value" in my report which I'm using to filter a table. I have checked the allow multi-select values option in the parameter properties. But even after doing that, it only shows one value when I run the Report and select multiple values from the drop-down.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Report Builder - Preview" style="width: 983px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/184491iABE9968961C5A9B1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Report Builder - Preview.jpg" alt="Report Builder - Preview" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Report Builder - Preview&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2019 15:35:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Report-Builder-Filter-Table-using-a-Multi-value/m-p/764362#M20328</guid>
      <dc:creator>Gangula</dc:creator>
      <dc:date>2019-08-12T15:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Report Builder: Filter Table using a Multi-value parameter</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Report-Builder-Filter-Table-using-a-Multi-value/m-p/764861#M20336</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/46514"&gt;@Gangula&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Even if I switch off the "Design mode", the expression is a little different. It doesn't have a SELECT function, it directly starts with EVALUATE.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Query Designer" style="width: 786px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/184490i7C079B796AB2C2ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="Query Designer.jpg" alt="Query Designer" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Query Designer&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/46514"&gt;@Gangula&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;The designer you're seeing relates to a SQL Server Analysis Services data source. These don't support transact-SQL (T-SQL). The connection type for your data source will need to be set to&amp;nbsp;&lt;STRONG&gt;Microsoft SQL Server&lt;/STRONG&gt; to work with the tutorial you've linked, e.g.:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 481px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/184618i73458F315FB0D5A6/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The report builder is pretty much the old builder for SSRS (SQL Server Reporting Services) with a new skin, so I believe that most "old" guides should still work, albeit looking a bit different.&lt;/P&gt;&lt;P&gt;If you're using a SSAS/Power BI dataset and want to work with multi-valued parameters, either of the following may help, as the syntax will be different to T-SQL:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://blog.crossjoin.co.uk/2012/06/01/handling-ssrs-multi-valued-parameters-in-dax-queries/" target="_self"&gt;Handling SSRS Multi-Valued Parameters in DAX Queries&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://prologika.com/ssrs-multivalue-parameters-in-dax/" target="_self"&gt;SSRS Multivalue Parameters in DAX&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If you're using T-SQL for your dataset (I see you have some output in your repor, so looks like something is working), you'd normally add &lt;FONT face="courier new,courier"&gt;IN (@Parameter)&lt;/FONT&gt; to your &lt;FONT face="courier new,courier"&gt;WHERE&lt;/FONT&gt; clause and the tool will dynamically generate the SQL before running against SQL Server proper.&lt;/P&gt;&lt;P&gt;Hopefully this helps you out a bit. If not, you may need to share an example of the query you're running and the parameter setup so that we can help to build it for you if you're not sure.&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 06:25:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Report-Builder-Filter-Table-using-a-Multi-value/m-p/764861#M20336</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2019-08-13T06:25:46Z</dc:date>
    </item>
  </channel>
</rss>

