<?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: dataviewmapping dataReductionAlgorithm not increasing number of rows inputted in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/dataviewmapping-dataReductionAlgorithm-not-increasing-number-of/m-p/2483106#M4494</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;the dataReductionAlgorithm-setting should be applied to the rows object, not to the whole table (see &lt;A href="https://docs.microsoft.com/de-de/power-bi/developer/visuals/dataview-mappings#data-reduction-algorithm-usage," target="_blank"&gt;https://docs.microsoft.com/de-de/power-bi/developer/visuals/dataview-mappings#data-reduction-algorithm-usage,&lt;/A&gt; there is also an example for tables at the bottom). Try moving it inside the rows object:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"dataViewMappings": [
    {
      "table": {
        "rows": {
          "select": [
            ....
          ],
          "dataReductionAlgorithm": {
            "top": {
              "count": 30000
            }
          }
        }
      }
    }
  ]&lt;/LI-CODE&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;</description>
    <pubDate>Thu, 28 Apr 2022 11:37:02 GMT</pubDate>
    <dc:creator>ripach</dc:creator>
    <dc:date>2022-04-28T11:37:02Z</dc:date>
    <item>
      <title>dataviewmapping dataReductionAlgorithm not increasing number of rows inputted</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/dataviewmapping-dataReductionAlgorithm-not-increasing-number-of/m-p/2472751#M4484</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;  "dataViewMappings": [
    {

      "table": {
        "rows": {
          "select": [
            {
              "for": {
                "in": "column"
              }
            },
            {
              "for": {
                "in": "value"

              }
            },
            {
              "for": {
                "in": "value2"

              }
            },
            {
              "for": {
                "in": "value3"

              }
            },
            {
              "for": {
                "in": "value4"

              }
            },
            {
              "for": {
                "in": "value5"

              }
            },
            {
              "for": {
                "in": "value6"

              }
            }
          ]
        },
        "dataReductionAlgorithm": {
          "top": {
            "count": 30000
          }
        }
      }

    }
  ]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ive added a datareduction to the first 30,000 but the visual still only brings in the first 1000 rows&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IraWatt_0-1650731429140.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/703924i8DAF8ACBBC0E0C9E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IraWatt_0-1650731429140.png" alt="IraWatt_0-1650731429140.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any thoughts to why are greatly &lt;SPAN&gt;appreciated&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Apr 2022 16:31:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/dataviewmapping-dataReductionAlgorithm-not-increasing-number-of/m-p/2472751#M4484</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-23T16:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: dataviewmapping dataReductionAlgorithm not increasing number of rows inputted</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/dataviewmapping-dataReductionAlgorithm-not-increasing-number-of/m-p/2483106#M4494</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;the dataReductionAlgorithm-setting should be applied to the rows object, not to the whole table (see &lt;A href="https://docs.microsoft.com/de-de/power-bi/developer/visuals/dataview-mappings#data-reduction-algorithm-usage," target="_blank"&gt;https://docs.microsoft.com/de-de/power-bi/developer/visuals/dataview-mappings#data-reduction-algorithm-usage,&lt;/A&gt; there is also an example for tables at the bottom). Try moving it inside the rows object:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"dataViewMappings": [
    {
      "table": {
        "rows": {
          "select": [
            ....
          ],
          "dataReductionAlgorithm": {
            "top": {
              "count": 30000
            }
          }
        }
      }
    }
  ]&lt;/LI-CODE&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 11:37:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/dataviewmapping-dataReductionAlgorithm-not-increasing-number-of/m-p/2483106#M4494</guid>
      <dc:creator>ripach</dc:creator>
      <dc:date>2022-04-28T11:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: dataviewmapping dataReductionAlgorithm not increasing number of rows inputted</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/dataviewmapping-dataReductionAlgorithm-not-increasing-number-of/m-p/2483201#M4495</link>
      <description>&lt;P&gt;Ah great spot thanks&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/260811"&gt;@ripach&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 12:13:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/dataviewmapping-dataReductionAlgorithm-not-increasing-number-of/m-p/2483201#M4495</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-28T12:13:37Z</dc:date>
    </item>
  </channel>
</rss>

