<?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: fetchMoreData with dataReductionAlgorithm set to window in categorical dataview results in error in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/fetchMoreData-with-dataReductionAlgorithm-set-to-window-in/m-p/1540470#M26722</link>
    <description>&lt;P&gt;So far, I've found that in a Categorical dataview only the categories can have a "window" dataReductionAlgorithm and the values (and eventual group by data fields) should not. They are the ones that result in either "Can't display the visual" or other behaviour.&amp;nbsp;&lt;BR /&gt;It appears as though I can "window" the categories, but the corresponding values are still limited to 30.000 values max.&lt;BR /&gt;Any expert insights are appreciated!&lt;/P&gt;</description>
    <pubDate>Wed, 09 Dec 2020 09:30:33 GMT</pubDate>
    <dc:creator>WouterBo</dc:creator>
    <dc:date>2020-12-09T09:30:33Z</dc:date>
    <item>
      <title>fetchMoreData with dataReductionAlgorithm set to window in categorical dataview results in error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/fetchMoreData-with-dataReductionAlgorithm-set-to-window-in/m-p/1538225#M26715</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm attempting to fetch more than 30K rows of data in a custom visual using a categorical dataview. I'm using the 3.4.0 API. Using the example by&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/397"&gt;@dm-p&lt;/a&gt; which uses a tableview it seems to work fine. However, in my categorical dataview PowerBI produces an error message saying "can't display visual"..try again later.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My dataViewMappings in capabilities.json look like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;"dataViewMappings": [
        {
            "conditions": [
                {
                    "value": {
                        "max": 1
                    },
                    "category": {
                        "max": 1
                    },
                    "details": {
                        "max": 1
                    }
                }
            ],
            "categorical": {
                "categories": {
                    "for": {
                        "in": "category"
                    },
                    "dataReductionAlgorithm": {
                        "top": {
                            "count": 1000
                        }
                    }
                },
                "values": {
                    "group": {
                        "by": "details",
                        "select": [
                            {
                                "bind": {
                                    "to": "value"
                                }
                            },
                            {
                                "bind": {
                                    "to": "tooltips"
                                }
                            }
                        ],
                        "dataReductionAlgorithm": {
                            "window": {
                                "count": 30000
                            }
                        }
                    }
                }
            }
        }
    ],&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see, the categories are limited to 1000. But the values are grouped by a details field and set to a "window" of 30K. As soon as the user provides the details field, the visual fails with PowerBI giving me the message "Can't display visual".&lt;/P&gt;&lt;P&gt;I realise that the window will apply to the result of aggregation of the data, but it feels like PowerBI doesn't like it. What am I not understanding?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope someone can help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 08:52:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/fetchMoreData-with-dataReductionAlgorithm-set-to-window-in/m-p/1538225#M26715</guid>
      <dc:creator>WouterBo</dc:creator>
      <dc:date>2020-12-08T08:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: fetchMoreData with dataReductionAlgorithm set to window in categorical dataview results in error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/fetchMoreData-with-dataReductionAlgorithm-set-to-window-in/m-p/1540470#M26722</link>
      <description>&lt;P&gt;So far, I've found that in a Categorical dataview only the categories can have a "window" dataReductionAlgorithm and the values (and eventual group by data fields) should not. They are the ones that result in either "Can't display the visual" or other behaviour.&amp;nbsp;&lt;BR /&gt;It appears as though I can "window" the categories, but the corresponding values are still limited to 30.000 values max.&lt;BR /&gt;Any expert insights are appreciated!&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 09:30:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/fetchMoreData-with-dataReductionAlgorithm-set-to-window-in/m-p/1540470#M26722</guid>
      <dc:creator>WouterBo</dc:creator>
      <dc:date>2020-12-09T09:30:33Z</dc:date>
    </item>
  </channel>
</rss>

