<?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: How to pass parameters in SSRS/Power BI (report builder) ? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-pass-parameters-in-ssrs-power-bi-report-builder/m-p/70004#M33961</link>
    <description>&lt;P&gt;Were you able to fix the error?&lt;/P&gt;</description>
    <pubDate>Mon, 20 May 2024 16:38:02 GMT</pubDate>
    <dc:creator>mj2017</dc:creator>
    <dc:date>2024-05-20T16:38:02Z</dc:date>
    <item>
      <title>How to pass parameters in SSRS/Power BI (report builder) ?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-pass-parameters-in-ssrs-power-bi-report-builder/m-p/31569#M23001</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;In SSRS/Power BI (report builder), how to query a table in Databricks with parameters please ?&lt;/P&gt;&lt;P&gt;Because this code doesn't works :&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT * FROM TempBase.Customers WHERE Name = {{ @P_Name }}&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 09:31:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-pass-parameters-in-ssrs-power-bi-report-builder/m-p/31569#M23001</guid>
      <dc:creator>wyzer</dc:creator>
      <dc:date>2022-01-17T09:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass parameters in SSRS/Power BI (report builder) ?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-pass-parameters-in-ssrs-power-bi-report-builder/m-p/31570#M23002</link>
      <description>&lt;P&gt;hmm first you need to create Power BI dataset with databricks connections (I normally use PowerBI Desktop APP for that) and than you can quey it from Report Builder&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/2184iD897CB221C3268BB/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 10:17:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-pass-parameters-in-ssrs-power-bi-report-builder/m-p/31570#M23002</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2022-01-17T10:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass parameters in SSRS/Power BI (report builder) ?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-pass-parameters-in-ssrs-power-bi-report-builder/m-p/31571#M23003</link>
      <description>&lt;P&gt;Thnak you.&lt;/P&gt;&lt;P&gt;We also found this : &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT * FROM TempBase.Customers WHERE Name = ?&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jan 2022 12:50:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-pass-parameters-in-ssrs-power-bi-report-builder/m-p/31571#M23003</guid>
      <dc:creator>wyzer</dc:creator>
      <dc:date>2022-01-18T12:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass parameters in SSRS/Power BI (report builder) ?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-pass-parameters-in-ssrs-power-bi-report-builder/m-p/31572#M23004</link>
      <description>&lt;P&gt;Hi @Hubert Dudek​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I have a similar requirement where I am trying to query a table in Databricks by passing a parameter from Power BI report builder. So I have two queries out of which one is working and the other is not working.&lt;/P&gt;&lt;P&gt;Can you help in identify why one query is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Working query--&lt;/P&gt;&lt;P&gt;Select Id,Name,StartDate from TableA where Id = ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Not Working query--&lt;/P&gt;&lt;P&gt;Select Id,Name,date_format(StartDate,'dd') as StartDay from TableA where Id = ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;In the second query I have used a date_format function which is causing the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried running both the queries in Databricks directly and both are working but the second query is failing when I try to run it from Power BI report builder with the placeholder for parameter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the error message I am getting when I am trying to validate the second query in Power BI report builder&lt;/P&gt;&lt;P&gt;"ERROR [42000] [Simba][Hardy] (80) Syntax or semantic analysis error thrown in server while executing query. Error message from server: org.apache.hive.service.cli.HiveSQLException: Error running query: org.apache.spark.sql.catalyst.parser.ParseException:&amp;nbsp;&lt;/P&gt;&lt;P&gt;mismatched input '?' expecting {'(', '{', 'CALLED', 'CLONE', 'COLLECT', 'CONTAINS', 'CONVERT', 'COPY', 'COPY_OPTIONS', 'CREDENTIALS', 'DEEP', 'DEFINER', 'DELTA', 'DETERMINISTIC', 'ENCRYPTION', 'EXPECT', 'FAIL', 'FILES', 'FORMAT_OPTIONS', 'HISTORY', 'INCREMENTAL', 'INPUT', 'INVOKER', 'LANGUAGE', 'LIVE', 'MODIFIES', 'OPTIMIZE', 'PATTERN', 'READS', 'RESTORE', 'RETURN', 'RETURNS', 'SAMPLE', 'SECURITY', 'SHALLOW', 'SPECIFIC', 'SQL', 'TIMESTAMP', 'VERSION', 'VIOLATION', 'ZORDER', 'ADD', 'AFTER', 'ALL', 'ALTER', 'ALWAYS', 'ANALYZE', 'AND', 'ANTI', 'ANY', 'ARCHIVE', 'ARRAY', 'AS', 'ASC', 'AT', 'AUTHORIZATION', 'BETWEEN', 'BOTH', 'BUCKET', 'BUCKETS', 'BY', 'CACHE', 'CASCADE', 'CASE', 'CAST', 'CHANGE', 'CHECK', 'CLEAR', 'CLUSTER', 'CLUSTERED', 'CODEGEN', 'COLLATE', 'COLLECTION',..."&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 12:10:19 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-pass-parameters-in-ssrs-power-bi-report-builder/m-p/31572#M23004</guid>
      <dc:creator>HariharaSam</dc:creator>
      <dc:date>2023-03-24T12:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass parameters in SSRS/Power BI (report builder) ?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-pass-parameters-in-ssrs-power-bi-report-builder/m-p/31573#M23005</link>
      <description>&lt;P&gt;Hi guys&lt;/P&gt;&lt;P&gt; thank you for the information&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Sat, 25 Mar 2023 06:42:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-pass-parameters-in-ssrs-power-bi-report-builder/m-p/31573#M23005</guid>
      <dc:creator>Leenaa</dc:creator>
      <dc:date>2023-03-25T06:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass parameters in SSRS/Power BI (report builder) ?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-pass-parameters-in-ssrs-power-bi-report-builder/m-p/31574#M23006</link>
      <description>&lt;P&gt;to learn how to SEO your articles please check &lt;A href="https://talaex.ir/blog/what-is-content-production" alt="https://talaex.ir/blog/what-is-content-production" target="_blank"&gt;talaex.ir&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Mar 2023 07:37:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-pass-parameters-in-ssrs-power-bi-report-builder/m-p/31574#M23006</guid>
      <dc:creator>arzsanj</dc:creator>
      <dc:date>2023-03-25T07:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass parameters in SSRS/Power BI (report builder) ?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-pass-parameters-in-ssrs-power-bi-report-builder/m-p/41301#M27330</link>
      <description>&lt;P&gt;Hi, I am not able to see the data in SSRS while I am using date parameters but with manual dates data is populating fine. The database is pointing to databricks. I am not sure what I am missing here. Please help me in this. Thanks&lt;/P&gt;&lt;P&gt;I am trying with query:&lt;/P&gt;&lt;P&gt;Select * from table1 where startdate &amp;gt;= '{{Parameter_Start_date}}' and enddate &amp;lt;= '{{Parameter_end_date}}'&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 09:33:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-pass-parameters-in-ssrs-power-bi-report-builder/m-p/41301#M27330</guid>
      <dc:creator>Nj11</dc:creator>
      <dc:date>2023-08-24T09:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass parameters in SSRS/Power BI (report builder) ?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-pass-parameters-in-ssrs-power-bi-report-builder/m-p/70004#M33961</link>
      <description>&lt;P&gt;Were you able to fix the error?&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 16:38:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-pass-parameters-in-ssrs-power-bi-report-builder/m-p/70004#M33961</guid>
      <dc:creator>mj2017</dc:creator>
      <dc:date>2024-05-20T16:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass parameters in SSRS/Power BI (report builder) ?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-pass-parameters-in-ssrs-power-bi-report-builder/m-p/70005#M33962</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Were you able to fix the query?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 16:40:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-pass-parameters-in-ssrs-power-bi-report-builder/m-p/70005#M33962</guid>
      <dc:creator>mj2017</dc:creator>
      <dc:date>2024-05-20T16:40:00Z</dc:date>
    </item>
  </channel>
</rss>

