<?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: Problem with reading data from dataview in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Problem-with-reading-data-from-dataview/m-p/198322#M6324</link>
    <description>&lt;P&gt;@Anonymous&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The above&amp;nbsp;capabilities.json is not valid. You may check the API at &lt;A href="https://github.com/Microsoft/PowerBI-visuals-tools/blob/master/templates/visuals/.api/v1.7.0/schema.capabilities.json" target="_blank"&gt;https://github.com/Microsoft/PowerBI-visuals-tools/blob/master/templates/visuals/.api/v1.7.0/schema.capabilities.json&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Wed, 21 Jun 2017 09:49:21 GMT</pubDate>
    <dc:creator>v-chuncz-msft</dc:creator>
    <dc:date>2017-06-21T09:49:21Z</dc:date>
    <item>
      <title>Problem with reading data from dataview</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Problem-with-reading-data-from-dataview/m-p/197630#M6290</link>
      <description>&lt;P&gt;I have my capabilities.json as follow:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{
    "dataRoles": [
        {
            "displayName": "Origine",
            "name": "category",
            "kind": 0
        },
        {
            "displayName": "Volume",
            "name": "measure",
            "kind": 1
        },
        {
            "displayName": "Age",
            "name": "age",
            "kind": 1
        }
    ],
    "dataViewMappings": [
        {
            "conditions": [
                {
                    "category": {
                        "max":1
                    },
                    "mesure": {
                        "max":1
                    },
                    "age":{
                        "max":1
                    }
                }
            ],

            "categorical": {
                "categories": {
                    "for": {
                        "in": "category"
                    }
                },
                "single": {
                    "for": {
                        "in": "age"
                    }
                },
                "values": {
                    "select": [
                        {
                            "bind": {
                                "to": "measure"
                            }
                        }
                    ]
                }
            },
            "single" : {
                "role":""
            }    
        }
    ],&lt;/PRE&gt;&lt;P&gt;i'm trying to read the the data "age" but I couldn't achieve this.&lt;/P&gt;&lt;P&gt;here is the way with which I'm trying to read the data:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;            console.log(options.dataViews[0]);
            console.log(options.dataViews[0].categorical.maps);&lt;/PRE&gt;</description>
      <pubDate>Tue, 20 Jun 2017 15:07:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Problem-with-reading-data-from-dataview/m-p/197630#M6290</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-20T15:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with reading data from dataview</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Problem-with-reading-data-from-dataview/m-p/198322#M6324</link>
      <description>&lt;P&gt;@Anonymous&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The above&amp;nbsp;capabilities.json is not valid. You may check the API at &lt;A href="https://github.com/Microsoft/PowerBI-visuals-tools/blob/master/templates/visuals/.api/v1.7.0/schema.capabilities.json" target="_blank"&gt;https://github.com/Microsoft/PowerBI-visuals-tools/blob/master/templates/visuals/.api/v1.7.0/schema.capabilities.json&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2017 09:49:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Problem-with-reading-data-from-dataview/m-p/198322#M6324</guid>
      <dc:creator>v-chuncz-msft</dc:creator>
      <dc:date>2017-06-21T09:49:21Z</dc:date>
    </item>
  </channel>
</rss>

