<?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 SSRS Report in Power Query</title>
    <link>https://community.fabric.microsoft.com/t5/Power-Query/SSRS-Report/m-p/2573209#M78377</link>
    <description>&lt;P&gt;Hello everyone.&lt;/P&gt;&lt;P&gt;I am working on an SSRS report(not very complicated).&lt;/P&gt;&lt;P&gt;In a nutshell, I have one dataset(including 4 columns I want to display in the table in the report) and a second dataset called - Parameters including 2 columns( the 2 parameters I want to render the information).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't want duplicated values in the dropdown list with parameters so I am adding them in the query filed using the following command line of code:&amp;nbsp;&lt;STRONG&gt;SELECT DISTINCT Name FROM iCustomerNames&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It works fine with one column. However I noticed if I add an extra column to the expression:&amp;nbsp;&lt;STRONG&gt;SELECT DISTINCT Name, ProductName FROM iCustomerNames&lt;/STRONG&gt;. the distinct keyword is not working anymore and the duplicate values are in the dropdown.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does someone have an idea how can I fix this?&lt;/P&gt;&lt;P&gt;I tried creating 2 separate datasets for each of the parameters. It works but I am not sure if this is a good approach.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will be very happy to hear your thoughts!&lt;/P&gt;</description>
    <pubDate>Sun, 12 Jun 2022 12:41:16 GMT</pubDate>
    <dc:creator>simona0808</dc:creator>
    <dc:date>2022-06-12T12:41:16Z</dc:date>
    <item>
      <title>SSRS Report</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/SSRS-Report/m-p/2573209#M78377</link>
      <description>&lt;P&gt;Hello everyone.&lt;/P&gt;&lt;P&gt;I am working on an SSRS report(not very complicated).&lt;/P&gt;&lt;P&gt;In a nutshell, I have one dataset(including 4 columns I want to display in the table in the report) and a second dataset called - Parameters including 2 columns( the 2 parameters I want to render the information).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't want duplicated values in the dropdown list with parameters so I am adding them in the query filed using the following command line of code:&amp;nbsp;&lt;STRONG&gt;SELECT DISTINCT Name FROM iCustomerNames&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It works fine with one column. However I noticed if I add an extra column to the expression:&amp;nbsp;&lt;STRONG&gt;SELECT DISTINCT Name, ProductName FROM iCustomerNames&lt;/STRONG&gt;. the distinct keyword is not working anymore and the duplicate values are in the dropdown.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does someone have an idea how can I fix this?&lt;/P&gt;&lt;P&gt;I tried creating 2 separate datasets for each of the parameters. It works but I am not sure if this is a good approach.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will be very happy to hear your thoughts!&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jun 2022 12:41:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/SSRS-Report/m-p/2573209#M78377</guid>
      <dc:creator>simona0808</dc:creator>
      <dc:date>2022-06-12T12:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: SSRS Report</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/SSRS-Report/m-p/2578960#M78562</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="365283" data-lia-user-login="simona0808" class="lia-mention lia-mention-user"&gt;simona0808&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is feasible to use two datasets for two parameters.&lt;/P&gt;
&lt;P&gt;If you want to use one dataset, you can use VB code to remove duplicate filter values from parameter drop-down. Please refer to this article for the exact steps.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://social.technet.microsoft.com/wiki/contents/articles/36632.ssrs-remove-duplicate-filter-values-from-parameter-drop-down-using-vb-code.aspx" target="_self"&gt;SSRS: Remove Duplicate Filter Values from Parameter Drop-down using VB code&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Here are the results of my tests. Note that you should move the &lt;STRONG&gt;DummyNamesFilter&lt;/STRONG&gt; parameter to the top of the &lt;STRONG&gt;NamesFilter&lt;/STRONG&gt; parameter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.&lt;BR /&gt;Best Regards,&lt;BR /&gt;Winniz&lt;BR /&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2022 02:57:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/SSRS-Report/m-p/2578960#M78562</guid>
      <dc:creator>v-kkf-msft</dc:creator>
      <dc:date>2022-06-15T02:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: SSRS Report</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/SSRS-Report/m-p/2593657#M79123</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/user/viewprofilepage/user-id/365283" target="_blank"&gt;@simona0808&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Has your problem been solved? If it is solved, please mark a reply which is helpful to you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Winniz&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2022 03:12:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/SSRS-Report/m-p/2593657#M79123</guid>
      <dc:creator>v-kkf-msft</dc:creator>
      <dc:date>2022-06-22T03:12:08Z</dc:date>
    </item>
  </channel>
</rss>

