<?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 'bind to parameter' option is not showing even when I used DirectQuery to get data. in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/bind-to-parameter-option-is-not-showing-even-when-I-used/m-p/4019959#M53841</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create parameters for Year and WeekOfYear in Power Bi report.&lt;/P&gt;&lt;P&gt;Though I can create a calendar table in the powerquery itself, I am using Directquery and fetching the values for 'Year' to supply it for my 'Year' parameter.&lt;/P&gt;&lt;P&gt;I used below code to get year data from MySQL database.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;let
    Source = MySQL.Database(DBServer, Database, [ReturnSingleDatabase=true, Query="SELECT  distinct#(lf)        IFNULL(YEAR(t.createdAt), '-') AS 'Year'#(lf)FROM v_customers as c#(lf)LEFT OUTER JOIN v_trips AS t ON t.customerId = c.customerId AND (t.tripStatus='Confirmed' || t.tripStatus='Cancelled')#(lf)GROUP BY YEAR(t.createdAt), WEEKOFYEAR(t.createdAt)#(lf)ORDER BY YEAR(t.createdAt), WEEKOFYEAR(t.createdAt) ASC;"])
in
    Source&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am still not able to see 'Bind to Parameter' Option.&lt;/P&gt;&lt;P&gt;Please help!&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jul 2024 07:45:27 GMT</pubDate>
    <dc:creator>gsrikar33</dc:creator>
    <dc:date>2024-07-02T07:45:27Z</dc:date>
    <item>
      <title>'bind to parameter' option is not showing even when I used DirectQuery to get data.</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/bind-to-parameter-option-is-not-showing-even-when-I-used/m-p/4019959#M53841</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create parameters for Year and WeekOfYear in Power Bi report.&lt;/P&gt;&lt;P&gt;Though I can create a calendar table in the powerquery itself, I am using Directquery and fetching the values for 'Year' to supply it for my 'Year' parameter.&lt;/P&gt;&lt;P&gt;I used below code to get year data from MySQL database.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;let
    Source = MySQL.Database(DBServer, Database, [ReturnSingleDatabase=true, Query="SELECT  distinct#(lf)        IFNULL(YEAR(t.createdAt), '-') AS 'Year'#(lf)FROM v_customers as c#(lf)LEFT OUTER JOIN v_trips AS t ON t.customerId = c.customerId AND (t.tripStatus='Confirmed' || t.tripStatus='Cancelled')#(lf)GROUP BY YEAR(t.createdAt), WEEKOFYEAR(t.createdAt)#(lf)ORDER BY YEAR(t.createdAt), WEEKOFYEAR(t.createdAt) ASC;"])
in
    Source&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am still not able to see 'Bind to Parameter' Option.&lt;/P&gt;&lt;P&gt;Please help!&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 07:45:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/bind-to-parameter-option-is-not-showing-even-when-I-used/m-p/4019959#M53841</guid>
      <dc:creator>gsrikar33</dc:creator>
      <dc:date>2024-07-02T07:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: 'bind to parameter' option is not showing even when I used DirectQuery to get data.</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/bind-to-parameter-option-is-not-showing-even-when-I-used/m-p/4021541#M53861</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/756166"&gt;@gsrikar33&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I'd like to suggest you check the consideration and limitations about this feature usage at first to confirm if your scenarios are meet to that list:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-dynamic-m-query-parameters#considerations-and-limitations" target="_blank"&gt;Dynamic M query parameters in Power BI Desktop - Power BI | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Xiaoxin Sheng&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 02:01:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/bind-to-parameter-option-is-not-showing-even-when-I-used/m-p/4021541#M53861</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-03T02:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: 'bind to parameter' option is not showing even when I used DirectQuery to get data.</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/bind-to-parameter-option-is-not-showing-even-when-I-used/m-p/4021896#M53867</link>
      <description>&lt;P&gt;Hello&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you for the response.&lt;BR /&gt;I have been following all these limitations.&lt;BR /&gt;&lt;BR /&gt;Does this work with only Microsoft Databases like SQL, Azure SQL and etc.,?&lt;/P&gt;&lt;P&gt;I am using MySQL and I dont see this option to bind parameters in any of my PBI reports.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 05:47:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/bind-to-parameter-option-is-not-showing-even-when-I-used/m-p/4021896#M53867</guid>
      <dc:creator>gsrikar33</dc:creator>
      <dc:date>2024-07-03T05:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: 'bind to parameter' option is not showing even when I used DirectQuery to get data.</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/bind-to-parameter-option-is-not-showing-even-when-I-used/m-p/4031923#M54046</link>
      <description>&lt;P&gt;Thanks everyone for the assistance!&lt;BR /&gt;Checked this link.&lt;BR /&gt;MySQL is not mentioned in that link.&lt;BR /&gt;'Bind to parameter' option will appear only for 'Direct Query' storage mode only.&lt;/P&gt;&lt;P&gt;For MySQL, 'Direct Query' menthod can only be used with MariaDB's ODBC driver. But we will not be able to write queries with this driver. We can only browser the database and select tables.&lt;BR /&gt;Workaround to write queries with this driver is to create a view in the database and use it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Upon further testing I could see that this Maria DB driver is not great and I couldnt develop atleast one report with DIrectQuery method using this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where as I could do direct query with SQL server database source. This works perfect though.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 09:15:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/bind-to-parameter-option-is-not-showing-even-when-I-used/m-p/4031923#M54046</guid>
      <dc:creator>gsrikar33</dc:creator>
      <dc:date>2024-07-31T09:15:42Z</dc:date>
    </item>
  </channel>
</rss>

