<?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: Data reduction algorithm in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Data-reduction-algorithm/m-p/1234215#M3280</link>
    <description>&lt;P&gt;solved:&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;In my case it was necessary to place it after select in "categories" and "values"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;  "categorical": {
                "categories": {
                    "select": [
                        {
                            "for": {
                                "in": "Task"
                            }
                        }, 
                        {
                            "for": {
                                "in": "Parent"
                            }
                        },
                    
                        {
                            "for": {
                                "in": "StartDate"
                            }
                        },
                        {
                            "for": {
                                "in": "Resource"
                            }
                        },
                        {
                            "for": {
                                "in": "ParentResource"
                            }
                        },
                        {
                            "for": {
                                "in": "ExtraInformation"
                            }
                        },
                        {
                            "for": {
                                "in": "Milestones"
                            }
                        }
                    ], "dataReductionAlgorithm": {
                        "top": {
                            "count": 30000
                        }
                    }  
                },
                "values": {
                    "group": {
                        "by": "Legend",
                        "select": [
                            {
                                "for": {
                                    "in": "EndDate"
                                }
                            },
                            {
                                "for": {
                                    "in": "Duration"
                                }
                            },
                            {
                                "for": {
                                    "in": "Completion"
                                }
                            }
                        ], "dataReductionAlgorithm": {
                        "top": {
                            "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;</description>
    <pubDate>Thu, 23 Jul 2020 06:55:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-07-23T06:55:39Z</dc:date>
    <item>
      <title>Data reduction algorithm</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Data-reduction-algorithm/m-p/1230927#M3271</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;im working on custom visual that returns this error: "too many 'Task No' values" Not displaying all data. Filter the data or choose another field."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to fix this according the data reduction algorithm:&amp;nbsp;&lt;A href="https://github.com/mvgaliev/PowerBI-visuals/blob/942d72065ec6703878249d32cb8df41a00827750/Capabilities/DataViewMappings.md" target="_blank"&gt;https://github.com/mvgaliev/PowerBI-visuals/blob/942d72065ec6703878249d32cb8df41a00827750/Capabilities/DataViewMappings.md&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The error is due to "tasks".&lt;/P&gt;&lt;P&gt;so i tried this: (on capabilities.json)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;    "categorical": {
                "categories": {
                    "select": [
                         {
                            "for": {
                                "in": "Task"
                            } , "dataReductionAlgorithm": {
                                "top": {
                                    "count": 30000
                                }
                            }
                        }, 
                        {
                            "for": {
                                "in": "Parent"
                            }
                        },
                    
                        {
                            "for": {
                                "in": "StartDate"
                            }
                        },
                        {
                            "for": {
                                "in": "Resource"
                            }
                        }
                    ]
                },
                "values": {
                    "group": {
                        "by": "Legend",
                        "select": [
                            {
                                "for": {
                                    "in": "EndDate"
                                }
                            },
                            {
                                "for": {
                                    "in": "Duration"
                                }
                            }
                        ]
                    }
                }
            }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it seems to have no affect. I also tried to set property to "window" or "bottom" and reduce count.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 11:25:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Data-reduction-algorithm/m-p/1230927#M3271</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-17T11:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: Data reduction algorithm</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Data-reduction-algorithm/m-p/1234215#M3280</link>
      <description>&lt;P&gt;solved:&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;In my case it was necessary to place it after select in "categories" and "values"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;  "categorical": {
                "categories": {
                    "select": [
                        {
                            "for": {
                                "in": "Task"
                            }
                        }, 
                        {
                            "for": {
                                "in": "Parent"
                            }
                        },
                    
                        {
                            "for": {
                                "in": "StartDate"
                            }
                        },
                        {
                            "for": {
                                "in": "Resource"
                            }
                        },
                        {
                            "for": {
                                "in": "ParentResource"
                            }
                        },
                        {
                            "for": {
                                "in": "ExtraInformation"
                            }
                        },
                        {
                            "for": {
                                "in": "Milestones"
                            }
                        }
                    ], "dataReductionAlgorithm": {
                        "top": {
                            "count": 30000
                        }
                    }  
                },
                "values": {
                    "group": {
                        "by": "Legend",
                        "select": [
                            {
                                "for": {
                                    "in": "EndDate"
                                }
                            },
                            {
                                "for": {
                                    "in": "Duration"
                                }
                            },
                            {
                                "for": {
                                    "in": "Completion"
                                }
                            }
                        ], "dataReductionAlgorithm": {
                        "top": {
                            "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;</description>
      <pubDate>Thu, 23 Jul 2020 06:55:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Data-reduction-algorithm/m-p/1234215#M3280</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-23T06:55:39Z</dc:date>
    </item>
  </channel>
</rss>

