<?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 Date Range in a Power BI Paginated report. The property 'ValidValues' of report parameter not of exp in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Date-Range-in-a-Power-BI-Paginated-report-The-property/m-p/3261068#M35596</link>
    <description>&lt;P&gt;I am creating a Paginated report to use in a Power BI Dashboard based on a Published Paower BI dataset. Using a string based parameter works nicely however I am trying to add a date range tot he report as well.&amp;nbsp; The database is based on a CDS imported table with a DateTime field.&amp;nbsp; The field is recognised in PowerApps and in Power BI query as a datetime field however when trying to add it to a paginated report in report builder it appears to be recognising it as a string.&amp;nbsp; I get the error "&lt;EM&gt;The property 'ValidValues' of report parameter 'FromTransactionsipmdate' doesn't have the expected type.&lt;/EM&gt;" when I try to run the report.&amp;nbsp; The query builder added the following with the italics section being added for the date range parameters and the rest being the original query.&amp;nbsp; The parameters were also added as you would expect and they were added correctly as date parameters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DEFINE VAR vFromTransactionsipmdate1 = IF(PATHLENGTH(@FromTransactionsipmdate) = 1, IF(@FromTransactionsipmdate &amp;lt;&amp;gt; "", @FromTransactionsipmdate, BLANK()), IF(PATHITEM(@FromTransactionsipmdate, 2) &amp;lt;&amp;gt; "", PATHITEM(@FromTransactionsipmdate, 2), BLANK()))&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;VAR vFromTransactionsipmdate1ALL = PATHLENGTH(@FromTransactionsipmdate) &amp;gt; 1 &amp;amp;&amp;amp; PATHITEM(@FromTransactionsipmdate, 1, 1) &amp;lt; 1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;VAR vToTransactionsipmdate1 = IF(PATHLENGTH(@ToTransactionsipmdate) = 1, IF(@ToTransactionsipmdate &amp;lt;&amp;gt; "", @ToTransactionsipmdate, BLANK()), IF(PATHITEM(@ToTransactionsipmdate, 2) &amp;lt;&amp;gt; "", PATHITEM(@ToTransactionsipmdate, 2), BLANK()))&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;VAR vToTransactionsipmdate1ALL = PATHLENGTH(@ToTransactionsipmdate) &amp;gt; 1 &amp;amp;&amp;amp; PATHITEM(@ToTransactionsipmdate, 1, 1) &amp;lt; 1&lt;/EM&gt;&lt;BR /&gt;EVALUATE SUMMARIZECOLUMNS('Transactions'[ipm_jobidname], 'Transactions'[ipm_jobtask.ipm_code], 'Transactions'[ipm_jobtask.ipm_grouptaskidname], 'Transactions'[ipm_jobtaskidname], 'Transactions'[ipm_name], 'Transactions'[ipm_parentnumber], 'Transactions'[ipm_resourceidname], 'Transactions'[ipm_vendoridname], 'Transactions'[ipm_amount], 'Transactions'[ipm_date], RSCustomDaxFilter(@Transactionsipmjobid,EqualToCondition,[Transactions].[ipm_jobid],String), FILTER(VALUES('Transactions'[ipm_date]), (vFromTransactionsipmdate1ALL || 'Transactions'[ipm_date] &amp;gt;= DATEVALUE(vFromTransactionsipmdate1) + TIMEVALUE(vFromTransactionsipmdate1)) &amp;amp;&amp;amp; (vToTransactionsipmdate1ALL || 'Transactions'[ipm_date] &amp;lt;= DATEVALUE(vToTransactionsipmdate1) + TIMEVALUE(vToTransactionsipmdate1))), "MatCost", [MatCost], "LabCost", [LabCost], "PltCost", [PltCost], "SubCost", [SubCost], "OthCost", [OthCost])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any assistance would be appreciated.&lt;/P&gt;</description>
    <pubDate>Wed, 31 May 2023 06:41:05 GMT</pubDate>
    <dc:creator>Reef_Fielding</dc:creator>
    <dc:date>2023-05-31T06:41:05Z</dc:date>
    <item>
      <title>Date Range in a Power BI Paginated report. The property 'ValidValues' of report parameter not of exp</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Date-Range-in-a-Power-BI-Paginated-report-The-property/m-p/3261068#M35596</link>
      <description>&lt;P&gt;I am creating a Paginated report to use in a Power BI Dashboard based on a Published Paower BI dataset. Using a string based parameter works nicely however I am trying to add a date range tot he report as well.&amp;nbsp; The database is based on a CDS imported table with a DateTime field.&amp;nbsp; The field is recognised in PowerApps and in Power BI query as a datetime field however when trying to add it to a paginated report in report builder it appears to be recognising it as a string.&amp;nbsp; I get the error "&lt;EM&gt;The property 'ValidValues' of report parameter 'FromTransactionsipmdate' doesn't have the expected type.&lt;/EM&gt;" when I try to run the report.&amp;nbsp; The query builder added the following with the italics section being added for the date range parameters and the rest being the original query.&amp;nbsp; The parameters were also added as you would expect and they were added correctly as date parameters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DEFINE VAR vFromTransactionsipmdate1 = IF(PATHLENGTH(@FromTransactionsipmdate) = 1, IF(@FromTransactionsipmdate &amp;lt;&amp;gt; "", @FromTransactionsipmdate, BLANK()), IF(PATHITEM(@FromTransactionsipmdate, 2) &amp;lt;&amp;gt; "", PATHITEM(@FromTransactionsipmdate, 2), BLANK()))&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;VAR vFromTransactionsipmdate1ALL = PATHLENGTH(@FromTransactionsipmdate) &amp;gt; 1 &amp;amp;&amp;amp; PATHITEM(@FromTransactionsipmdate, 1, 1) &amp;lt; 1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;VAR vToTransactionsipmdate1 = IF(PATHLENGTH(@ToTransactionsipmdate) = 1, IF(@ToTransactionsipmdate &amp;lt;&amp;gt; "", @ToTransactionsipmdate, BLANK()), IF(PATHITEM(@ToTransactionsipmdate, 2) &amp;lt;&amp;gt; "", PATHITEM(@ToTransactionsipmdate, 2), BLANK()))&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;VAR vToTransactionsipmdate1ALL = PATHLENGTH(@ToTransactionsipmdate) &amp;gt; 1 &amp;amp;&amp;amp; PATHITEM(@ToTransactionsipmdate, 1, 1) &amp;lt; 1&lt;/EM&gt;&lt;BR /&gt;EVALUATE SUMMARIZECOLUMNS('Transactions'[ipm_jobidname], 'Transactions'[ipm_jobtask.ipm_code], 'Transactions'[ipm_jobtask.ipm_grouptaskidname], 'Transactions'[ipm_jobtaskidname], 'Transactions'[ipm_name], 'Transactions'[ipm_parentnumber], 'Transactions'[ipm_resourceidname], 'Transactions'[ipm_vendoridname], 'Transactions'[ipm_amount], 'Transactions'[ipm_date], RSCustomDaxFilter(@Transactionsipmjobid,EqualToCondition,[Transactions].[ipm_jobid],String), FILTER(VALUES('Transactions'[ipm_date]), (vFromTransactionsipmdate1ALL || 'Transactions'[ipm_date] &amp;gt;= DATEVALUE(vFromTransactionsipmdate1) + TIMEVALUE(vFromTransactionsipmdate1)) &amp;amp;&amp;amp; (vToTransactionsipmdate1ALL || 'Transactions'[ipm_date] &amp;lt;= DATEVALUE(vToTransactionsipmdate1) + TIMEVALUE(vToTransactionsipmdate1))), "MatCost", [MatCost], "LabCost", [LabCost], "PltCost", [PltCost], "SubCost", [SubCost], "OthCost", [OthCost])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any assistance would be appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 06:41:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Date-Range-in-a-Power-BI-Paginated-report-The-property/m-p/3261068#M35596</guid>
      <dc:creator>Reef_Fielding</dc:creator>
      <dc:date>2023-05-31T06:41:05Z</dc:date>
    </item>
  </channel>
</rss>

