<?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 Set paramaeter's Default value to the Start of month in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Set-paramaeter-s-Default-value-to-the-Start-of-month/m-p/3568562#M137582</link>
    <description>&lt;P&gt;So i am developing a report where i've set two parameters to filter the dates,&lt;/P&gt;&lt;P&gt;From_date and To_date.&lt;/P&gt;&lt;P&gt;To_date default Value is Today(), for From_date i want to set the default value from the Starting day of the current month.&lt;/P&gt;&lt;P&gt;I tried using this Expression&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;But i am getting this error.&lt;/P&gt;&lt;P&gt;"The 'Value' expression for the report parameter 'From_date' contains an error: [BC30108] 'Date' is a type and cannot be used as an expression.&lt;BR /&gt;----------------------------&lt;BR /&gt;The definition of the report '' is invalid.&lt;BR /&gt;----------------------------&lt;BR /&gt;An error occurred during local report processing."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any other way that i can do this?&lt;/P&gt;</description>
    <pubDate>Tue, 05 Dec 2023 13:51:05 GMT</pubDate>
    <dc:creator>cmkrishnaprasad</dc:creator>
    <dc:date>2023-12-05T13:51:05Z</dc:date>
    <item>
      <title>Set paramaeter's Default value to the Start of month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Set-paramaeter-s-Default-value-to-the-Start-of-month/m-p/3568562#M137582</link>
      <description>&lt;P&gt;So i am developing a report where i've set two parameters to filter the dates,&lt;/P&gt;&lt;P&gt;From_date and To_date.&lt;/P&gt;&lt;P&gt;To_date default Value is Today(), for From_date i want to set the default value from the Starting day of the current month.&lt;/P&gt;&lt;P&gt;I tried using this Expression&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;But i am getting this error.&lt;/P&gt;&lt;P&gt;"The 'Value' expression for the report parameter 'From_date' contains an error: [BC30108] 'Date' is a type and cannot be used as an expression.&lt;BR /&gt;----------------------------&lt;BR /&gt;The definition of the report '' is invalid.&lt;BR /&gt;----------------------------&lt;BR /&gt;An error occurred during local report processing."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any other way that i can do this?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2023 13:51:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Set-paramaeter-s-Default-value-to-the-Start-of-month/m-p/3568562#M137582</guid>
      <dc:creator>cmkrishnaprasad</dc:creator>
      <dc:date>2023-12-05T13:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: Set paramaeter's Default value to the Start of month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Set-paramaeter-s-Default-value-to-the-Start-of-month/m-p/3568769#M137592</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="593786" data-lia-user-login="cmkrishnaprasad" class="lia-mention lia-mention-user"&gt;cmkrishnaprasad&lt;/a&gt;&amp;nbsp;based on picture, you selected Constants as Category. Check it.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2023 15:24:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Set-paramaeter-s-Default-value-to-the-Start-of-month/m-p/3568769#M137592</guid>
      <dc:creator>some_bih</dc:creator>
      <dc:date>2023-12-05T15:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: Set paramaeter's Default value to the Start of month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Set-paramaeter-s-Default-value-to-the-Start-of-month/m-p/3568828#M137597</link>
      <description>&lt;P&gt;Date is a DAX function, you are building this in the Power BI report builder, right? The internal expression language isn't DAX. You can check the common function to see how to write expressions, see the arrow. This will work, might be a little different depending on your region:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2023 15:59:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Set-paramaeter-s-Default-value-to-the-Start-of-month/m-p/3568828#M137597</guid>
      <dc:creator>ray_codex</dc:creator>
      <dc:date>2023-12-05T15:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Set paramaeter's Default value to the Start of month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Set-paramaeter-s-Default-value-to-the-Start-of-month/m-p/3569883#M137638</link>
      <description>&lt;P&gt;Hey &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="500682" data-lia-user-login="ray_codex" class="lia-mention lia-mention-user"&gt;ray_codex&lt;/a&gt;, That worked for me&lt;/P&gt;&lt;P&gt;Thanks..!&lt;span class="lia-unicode-emoji" title=":handshake:"&gt;🤝&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2023 07:09:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Set-paramaeter-s-Default-value-to-the-Start-of-month/m-p/3569883#M137638</guid>
      <dc:creator>cmkrishnaprasad</dc:creator>
      <dc:date>2023-12-06T07:09:21Z</dc:date>
    </item>
  </channel>
</rss>

