<?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 increase data selection from website by date in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/How-to-increase-data-selection-from-website-by-date/m-p/592421#M9075</link>
    <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous,&lt;/P&gt;
&lt;P&gt;Based on my test, you could refer to below code in advanced editor:&lt;/P&gt;
&lt;PRE&gt;(para as text) as table =&amp;gt;
let
Source = Web.Page(Web.Contents("https://www.investing.com/rates-bonds/chile-"&amp;amp;para&amp;amp;"-year-bond-yield-historical-data")),
Data0 = Source{0}[Data],
#"Changed Type" = Table.TransformColumnTypes(Data0,{{"Date", type date}, {"Price", type number}, {"Open", type number}, {"High", type number}, {"Low", type number}, {"Change %", Percentage.Type}})
in
#"Changed Type"
&lt;/PRE&gt;
&lt;P&gt;And click the “Done”, you are able to enter the parameter to change different source:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.PNG" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/138882i3625F4C855CB4811/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.PNG" alt="1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;After enter the “10” number:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.PNG" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/138883iFBA7C5C6E29B1AE5/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.PNG" alt="2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You could also download the pbix file to have a view.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel He&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Dec 2018 09:11:18 GMT</pubDate>
    <dc:creator>v-danhe-msft</dc:creator>
    <dc:date>2018-12-28T09:11:18Z</dc:date>
    <item>
      <title>How to increase data selection from website by date</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/How-to-increase-data-selection-from-website-by-date/m-p/579022#M8911</link>
      <description>&lt;P&gt;Does anyone know how to increase the date selection when pulling data from a website? I am trying to pull bond yield data from the following&amp;nbsp;&lt;A href="https://www.investing.com/rates-bonds/chile-10-year-bond-yield-historical-data" target="_self"&gt;link&lt;/A&gt;&amp;nbsp;to power query. But the default is set to a 1 month time range. Is there a way to change this? How do I adjust this selection to 1 year, 3 years, or 10 years?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The M code below is where I believe the answer to my question is. I just don't know how to edit it so that it changes the date selection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;let&lt;BR /&gt;Source = Web.Page(Web.Contents("&lt;A href="https://www.investing.com/rates-bonds/chile-10-year-bond-yield-historical-data" target="_blank"&gt;https://www.investing.com/rates-bonds/chile-10-year-bond-yield-historical-data&lt;/A&gt;")),&lt;BR /&gt;Data0 = Source{0}[Data],&lt;BR /&gt;#"Changed Type" = Table.TransformColumnTypes(Data0,{{"Date", type date}, {"Price", type number}, {"Open", type number}, {"High", type number}, {"Low", type number}, {"Change %", Percentage.Type}})&lt;BR /&gt;in&lt;BR /&gt;#"Changed Type"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for any help on this!&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 05:00:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/How-to-increase-data-selection-from-website-by-date/m-p/579022#M8911</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-05T05:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase data selection from website by date</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/How-to-increase-data-selection-from-website-by-date/m-p/592421#M9075</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous,&lt;/P&gt;
&lt;P&gt;Based on my test, you could refer to below code in advanced editor:&lt;/P&gt;
&lt;PRE&gt;(para as text) as table =&amp;gt;
let
Source = Web.Page(Web.Contents("https://www.investing.com/rates-bonds/chile-"&amp;amp;para&amp;amp;"-year-bond-yield-historical-data")),
Data0 = Source{0}[Data],
#"Changed Type" = Table.TransformColumnTypes(Data0,{{"Date", type date}, {"Price", type number}, {"Open", type number}, {"High", type number}, {"Low", type number}, {"Change %", Percentage.Type}})
in
#"Changed Type"
&lt;/PRE&gt;
&lt;P&gt;And click the “Done”, you are able to enter the parameter to change different source:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.PNG" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/138882i3625F4C855CB4811/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.PNG" alt="1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;After enter the “10” number:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.PNG" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/138883iFBA7C5C6E29B1AE5/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.PNG" alt="2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You could also download the pbix file to have a view.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel He&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Dec 2018 09:11:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/How-to-increase-data-selection-from-website-by-date/m-p/592421#M9075</guid>
      <dc:creator>v-danhe-msft</dc:creator>
      <dc:date>2018-12-28T09:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase data selection from website by date</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/How-to-increase-data-selection-from-website-by-date/m-p/3525711#M31753</link>
      <description>&lt;P&gt;It's very interesting and it works but I think that the original author refers to change&amp;nbsp;the values of the date box inside because the number "10" is part of the name and doesn't change. This is the place I'm talking about:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vicentetic_0-1699545466414.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/994617i19A98557C4B5C1E2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vicentetic_0-1699545466414.png" alt="vicentetic_0-1699545466414.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In this box you can change the date and extend the period. For example, can you do it for a period from 1/1/2020 - today ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 15:59:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/How-to-increase-data-selection-from-website-by-date/m-p/3525711#M31753</guid>
      <dc:creator>vicentetic</dc:creator>
      <dc:date>2023-11-09T15:59:49Z</dc:date>
    </item>
  </channel>
</rss>

