<?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: Custom Visual - Fields Only Aggregates? in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Fields-Only-Aggregates/m-p/203719#M6499</link>
    <description>&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 29 Jun 2017 12:30:50 GMT</pubDate>
    <dc:creator>bkimmel</dc:creator>
    <dc:date>2017-06-29T12:30:50Z</dc:date>
    <item>
      <title>Custom Visual - Fields Only Aggregates?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Fields-Only-Aggregates/m-p/202209#M6453</link>
      <description>&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm writing a custom map visual, and I'm&amp;nbsp;having a problem where all but one of my fields are aggregating the data in them no matter what I do. I'm trying to draw a flow diagram from a set of suppliers to customers, but with all of the destination data aggregated, it's prety worthless. The dataset&amp;nbsp;has a&amp;nbsp;table that holds the name and lat/long&amp;nbsp;of the supplier and a similar table for the customer. The tables are then linked by a relationship defined in a third table. So, the aggregation on the origin side is fine, since there is only one value there (I would prefer it wouldn't aggregate though). But it's grouping the customer data, which is many to one, so I get a single point. &lt;span class="lia-inline-image-display-wrapper lia-image-align-right" image-alt="image.png" style="width: 192px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/47730i3A42D440B19A3E43/image-size/medium?v=v2&amp;amp;px=400" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Is there something I can do to make it so none of the fields get aggregated?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my capabilities.json:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{
    "dataRoles": [{
            "displayName": "Origin",
            "name": "oLocation",
            "kind": "Grouping"
        },
        {
            "displayName": "Origin Latitude",
            "name": "oLat",
            "kind": "Measure"
        },
        {
            "displayName": "Origin Longitude",
            "name": "oLong",
            "kind": "Measure"
        },
        {
            "displayName": "Destination",
            "name": "dLocation",
            "kind": "Grouping"
        },
        {
            "displayName": "Destination Latitude",
            "name": "dLat",
            "kind": "Measure"
        },
        {
            "displayName": "Destination Longitude",
            "name": "dLong",
            "kind": "Measure"
        },
        {
            "displayName": "Line Width",
            "name": "value",
            "kind": "Measure"
        },
        {
            "displayName": "Tooltips",
            "name": "tooltips",
            "kind": "Measure"
        }
    ],
    "dataViewMappings": [{
        "conditions": [{
            "oLocation": {
                "max": 1
            },
            "oLat": {
                "max": 1
            },
            "oLong": {
                "max": 1
            },
            "dLocation": {
                "max": 1
            },
            "dLat": {
                "max": 1
            },
            "dLong": {
                "max": 1
            },
            "value": {
                "max": 1
            },
            "tooltips": {
                "min": 0
            }
        }],
        "categorical": {
            "categories": {
                "select": [{
                    "bind": {
                        "to": "oLocation"
                    }
                }, {
                    "bind": {
                        "to": "dLocation"
                    }
                }]
            },
            "values": {
                "select": [{
                        "bind": {
                            "to": "value"
                        }
                    }, {
                        "bind": {
                            "to": "oLat"
                        }
                    }, {
                        "bind": {
                            "to": "oLong"
                        }
                    },
                    {
                        "bind": {
                            "to": "dLat"
                        }
                    }, {
                        "bind": {
                            "to": "dLong"
                        }
                    }, {
                        "bind": {
                            "to": "tooltips"
                        }
                    }
                ]
            }
        }
    }]
}&lt;/PRE&gt;</description>
      <pubDate>Tue, 27 Jun 2017 14:07:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Fields-Only-Aggregates/m-p/202209#M6453</guid>
      <dc:creator>bkimmel</dc:creator>
      <dc:date>2017-06-27T14:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visual - Fields Only Aggregates?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Fields-Only-Aggregates/m-p/202880#M6467</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/34300"&gt;@bkimmel&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suppose it'd be better to use &lt;A href="https://github.com/Microsoft/PowerBI-visuals/blob/master/Capabilities/DataViewMappings.md#table-data-mapping" target="_blank"&gt;table data mapping &lt;/A&gt;instead of categorical.&lt;/P&gt;&lt;P&gt;Please send us .pbix file to investigate this issue deeper if this solution doesn't help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Ignat Vilesov&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;Software Engineer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;pbicvsupport@microsoft.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2017 11:25:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Fields-Only-Aggregates/m-p/202880#M6467</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2017-06-28T11:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visual - Fields Only Aggregates?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Fields-Only-Aggregates/m-p/203254#M6482</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Switching to table solved my problem!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P.S. Could you guys improve the documentation around using the table data mapping? The information on the Github is pretty sparse, and I had to spend a long time trawling through other places on the internet to figure it out.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2017 20:23:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Fields-Only-Aggregates/m-p/203254#M6482</guid>
      <dc:creator>bkimmel</dc:creator>
      <dc:date>2017-06-28T20:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visual - Fields Only Aggregates?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Fields-Only-Aggregates/m-p/203717#M6498</link>
      <description>&lt;P&gt;Sure. We'll improve our documentation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Ignat Vilesov&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;Software Engineer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;pbicvsupport@microsoft.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 12:29:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Fields-Only-Aggregates/m-p/203717#M6498</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2017-06-29T12:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visual - Fields Only Aggregates?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Fields-Only-Aggregates/m-p/203719#M6499</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 12:30:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Fields-Only-Aggregates/m-p/203719#M6499</guid>
      <dc:creator>bkimmel</dc:creator>
      <dc:date>2017-06-29T12:30:50Z</dc:date>
    </item>
  </channel>
</rss>

