<?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: Parameter is not working because of  RSCustomDaxFilter on the power bi report builder in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Parameter-is-not-working-because-of-RSCustomDaxFilter-on-the/m-p/3907283#M34859</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="527987" data-lia-user-login="Kubrasenses_" class="lia-mention lia-mention-user"&gt;Kubrasenses_&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I think you should create a query parameter and set its value to that of the existing report parameter (in Dataset Properties &amp;gt; Parameters).&lt;/P&gt;
&lt;P&gt;Also, you should avoid Query Designer (in my experience).&lt;/P&gt;
&lt;P&gt;For completeness, the full set of steps I followed:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Create a new Dataset&lt;/LI&gt;
&lt;LI&gt;In the Dataset Properties dialog box, in Parameters section, click Add.&lt;/LI&gt;
&lt;LI&gt;Enter Parameter Name&lt;BR /&gt;This can be the same name or a different name from the existing report parameter, as it is scoped to the query.&lt;/LI&gt;
&lt;LI&gt;For Parameter Value, select the existing report parameter from the dropdown.&lt;/LI&gt;
&lt;LI&gt;Go to Query section of Dataset Properties dialog box.&lt;/LI&gt;
&lt;LI&gt;Specify Name &amp;amp; Data source&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Don't click Query Designer.&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Enter or paste DAX query into Query dialog box, incorporating the query parameter defined above.&lt;/LI&gt;
&lt;LI&gt;Click Validate Query to confirm it works, then OK.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Xianda Tang&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 10 May 2024 05:19:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-05-10T05:19:06Z</dc:date>
    <item>
      <title>Parameter is not working because of  RSCustomDaxFilter on the power bi report builder</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Parameter-is-not-working-because-of-RSCustomDaxFilter-on-the/m-p/3905076#M34846</link>
      <description>&lt;P&gt;Hello Everyone,&lt;BR /&gt;I have project on the power bi report builder. I wanna to add paramaters . I can add 3 paramaters&amp;nbsp; but if i add&amp;nbsp; more than paramater is not working. My error code like that:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Query (&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;The name &lt;/SPAN&gt;&lt;SPAN class=""&gt;'&amp;lt;ccon&amp;gt;RSCustomDaxFilter&amp;lt;/ccon&amp;gt;'&lt;/SPAN&gt;&lt;SPAN&gt; could &lt;/SPAN&gt;&lt;SPAN class=""&gt;not&lt;/SPAN&gt;&lt;SPAN&gt; be resolved. It is &lt;/SPAN&gt;&lt;SPAN class=""&gt;not&lt;/SPAN&gt;&lt;SPAN&gt; a valid &lt;/SPAN&gt;&lt;SPAN class=""&gt;table&lt;/SPAN&gt;&lt;SPAN&gt;, variable, &lt;/SPAN&gt;&lt;SPAN class=""&gt;or&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;function&lt;/SPAN&gt; &lt;SPAN class=""&gt;name&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;this is my dataset query folder:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;DEFINE VAR vFromFLDimCalendarcalendardate1 = IF(PATHLENGTH(@FromFLDimCalendarcalendardate) = 1, IF(@FromFLDimCalendarcalendardate &amp;lt;&amp;gt; "", @FromFLDimCalendarcalendardate, BLANK()), IF(PATHITEM(@FromFLDimCalendarcalendardate, 2) &amp;lt;&amp;gt; "", PATHITEM(@FromFLDimCalendarcalendardate, 2), BLANK()))&lt;BR /&gt;VAR vFromFLDimCalendarcalendardate1ALL = PATHLENGTH(@FromFLDimCalendarcalendardate) &amp;gt; 1 &amp;amp;&amp;amp; PATHITEM(@FromFLDimCalendarcalendardate, 1, 1) &amp;lt; 1&lt;BR /&gt;VAR vToFLDimCalendarcalendardate1 = IF(PATHLENGTH(@ToFLDimCalendarcalendardate) = 1, IF(@ToFLDimCalendarcalendardate &amp;lt;&amp;gt; "", @ToFLDimCalendarcalendardate, BLANK()), IF(PATHITEM(@ToFLDimCalendarcalendardate, 2) &amp;lt;&amp;gt; "", PATHITEM(@ToFLDimCalendarcalendardate, 2), BLANK()))&lt;BR /&gt;VAR vToFLDimCalendarcalendardate1ALL = PATHLENGTH(@ToFLDimCalendarcalendardate) &amp;gt; 1 &amp;amp;&amp;amp; PATHITEM(@ToFLDimCalendarcalendardate, 1, 1) &amp;lt; 1&lt;BR /&gt;EVALUATE SUMMARIZECOLUMNS('FL_Dim_Calendar'[calendar_date], 'FL_Dim_ArticleCategoryGroup'[article_category_group_desc_eng], 'FL_Dim_ArticleBrand'[article_brand_desc_eng], 'salesHierarchy'[countryCode], 'salesHierarchy'[salesCenter], 'salesHierarchy'[asm], FILTER(VALUES('FL_Dim_Calendar'[calendar_date]), (vFromFLDimCalendarcalendardate1ALL || 'FL_Dim_Calendar'[calendar_date] &amp;gt;= DATEVALUE(vFromFLDimCalendarcalendardate1) + TIMEVALUE(vFromFLDimCalendarcalendardate1)) &amp;amp;&amp;amp; (vToFLDimCalendarcalendardate1ALL || 'FL_Dim_Calendar'[calendar_date] &amp;lt;= DATEVALUE(vToFLDimCalendarcalendardate1) + TIMEVALUE(vToFLDimCalendarcalendardate1))),&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;RSCustomDaxFilter(@salesHierarchyasm,EqualToCondition,[salesHierarchy].[asm],String)&lt;/FONT&gt;, &lt;FONT color="#FF0000"&gt;RSCustomDaxFilter(@salesHierarchysegment,EqualToCondition,[salesHierarchy].[segment],String)&lt;/FONT&gt;,&lt;BR /&gt;"Penetrasyon", [Penetrasyon], "Outlet Count", [Outlet Count])&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I don't know why this function is not working. Anyone could you resolve this problems?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 10:43:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Parameter-is-not-working-because-of-RSCustomDaxFilter-on-the/m-p/3905076#M34846</guid>
      <dc:creator>Kubrasenses_</dc:creator>
      <dc:date>2024-05-09T10:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter is not working because of  RSCustomDaxFilter on the power bi report builder</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Parameter-is-not-working-because-of-RSCustomDaxFilter-on-the/m-p/3907283#M34859</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="527987" data-lia-user-login="Kubrasenses_" class="lia-mention lia-mention-user"&gt;Kubrasenses_&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I think you should create a query parameter and set its value to that of the existing report parameter (in Dataset Properties &amp;gt; Parameters).&lt;/P&gt;
&lt;P&gt;Also, you should avoid Query Designer (in my experience).&lt;/P&gt;
&lt;P&gt;For completeness, the full set of steps I followed:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Create a new Dataset&lt;/LI&gt;
&lt;LI&gt;In the Dataset Properties dialog box, in Parameters section, click Add.&lt;/LI&gt;
&lt;LI&gt;Enter Parameter Name&lt;BR /&gt;This can be the same name or a different name from the existing report parameter, as it is scoped to the query.&lt;/LI&gt;
&lt;LI&gt;For Parameter Value, select the existing report parameter from the dropdown.&lt;/LI&gt;
&lt;LI&gt;Go to Query section of Dataset Properties dialog box.&lt;/LI&gt;
&lt;LI&gt;Specify Name &amp;amp; Data source&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Don't click Query Designer.&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Enter or paste DAX query into Query dialog box, incorporating the query parameter defined above.&lt;/LI&gt;
&lt;LI&gt;Click Validate Query to confirm it works, then OK.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Xianda Tang&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2024 05:19:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Parameter-is-not-working-because-of-RSCustomDaxFilter-on-the/m-p/3907283#M34859</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-05-10T05:19:06Z</dc:date>
    </item>
  </channel>
</rss>

