<?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 extract data from dataset in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-extract-data-from-dataset/m-p/366803#M10922</link>
    <description>&lt;P&gt;Grouping is default behavior of Power BI.&lt;/P&gt;
&lt;P&gt;The possible solution here is to add a Measure column to capabilities.json and put the main data column as Count of elements.&lt;/P&gt;
&lt;P&gt;This solution will allow your custom visual to get how many items are there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Ignat Vilesov,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Software Engineer&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;&lt;SPAN&gt;pbicvsupport@microsoft.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 28 Feb 2018 07:25:05 GMT</pubDate>
    <dc:creator>v-viig</dc:creator>
    <dc:date>2018-02-28T07:25:05Z</dc:date>
    <item>
      <title>Custom visual extract data from dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-extract-data-from-dataset/m-p/366410#M10911</link>
      <description>&lt;P&gt;I have a column of 130 or so rows that contain either A,B,C,D,E,F ... When I try to access the&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;table&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;rows, all of the duplicate rows have been grouped together with no indication of how many there are.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Preferably, I would like to access the data without PowerBi grouping the duplicates and allow me to do my own analysis in Typescript.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Any suggestions and thank you.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 27 Feb 2018 18:33:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-extract-data-from-dataset/m-p/366410#M10911</guid>
      <dc:creator>wellsayd</dc:creator>
      <dc:date>2018-02-27T18:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visual extract data from dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-extract-data-from-dataset/m-p/366803#M10922</link>
      <description>&lt;P&gt;Grouping is default behavior of Power BI.&lt;/P&gt;
&lt;P&gt;The possible solution here is to add a Measure column to capabilities.json and put the main data column as Count of elements.&lt;/P&gt;
&lt;P&gt;This solution will allow your custom visual to get how many items are there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Ignat Vilesov,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Software Engineer&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;&lt;SPAN&gt;pbicvsupport@microsoft.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2018 07:25:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-extract-data-from-dataset/m-p/366803#M10922</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-02-28T07:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visual extract data from dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-extract-data-from-dataset/m-p/367105#M10932</link>
      <description>&lt;P&gt;Thank you for your response. I am currently digging around for examples for what you are describing ... Currently, I have&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"dataRoles"&lt;/SPAN&gt;&lt;SPAN&gt;: [&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; "displayName"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"Values"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; "name"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"values"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&am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&gt;&amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Any suggestions would be much appreciated.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 28 Feb 2018 14:34:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-extract-data-from-dataset/m-p/367105#M10932</guid>
      <dc:creator>wellsayd</dc:creator>
      <dc:date>2018-02-28T14:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visual extract data from dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-extract-data-from-dataset/m-p/367143#M10935</link>
      <description>&lt;P&gt;Ok I think I have what you are describing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{
  "dataRoles": [
    {
            "displayName": "Category",
            "name": "Category",
            "kind": "Grouping"
        },
        {
            "displayName": "Values",
            "name": "Values",
            "kind": "Measure"
        }
  ],
  "dataViewMappings": [
      {

          "table": {
              "rows": {
                  "for": {
                      "in": "values"
                  }
              }
          }
      }
  ]
}&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Then in the Values Field, select the drop down and select Count. See attached screen shot as a reference.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="example.jpg" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/84168i78F2DF862F2A8611/image-size/large?v=v2&amp;amp;px=999" role="button" title="example.jpg" alt="example.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2018 15:18:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-extract-data-from-dataset/m-p/367143#M10935</guid>
      <dc:creator>wellsayd</dc:creator>
      <dc:date>2018-02-28T15:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visual extract data from dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-extract-data-from-dataset/m-p/367144#M10936</link>
      <description>&lt;P&gt;Is there anyway to make the Count automatically occur?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, with the previous workflow ... all of the null or missing fields do not receive a count and it is part of the requirements.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for help !!&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2018 15:28:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-extract-data-from-dataset/m-p/367144#M10936</guid>
      <dc:creator>wellsayd</dc:creator>
      <dc:date>2018-02-28T15:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visual extract data from dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-extract-data-from-dataset/m-p/367592#M10962</link>
      <description>&lt;P&gt;As far as I know, there's no way to use Count by default.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding null issue. It seems you should turn on "Shows items with no data":&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 340px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/84265i22050D29F12CAC73/image-size/large?v=v2&amp;amp;px=999" 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 style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Ignat Vilesov,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Software Engineer&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;&lt;SPAN&gt;pbicvsupport@microsoft.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2018 07:35:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-extract-data-from-dataset/m-p/367592#M10962</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-03-01T07:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visual extract data from dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-extract-data-from-dataset/m-p/368195#M10979</link>
      <description>&lt;P&gt;Thank you for the help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The null value appears when you are just displaying the field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, the null value&amp;nbsp;dissappears when you apply Count to the field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see screenshots as a reference.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="example1.jpg" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/84427i04C130A63763CA60/image-size/large?v=v2&amp;amp;px=999" role="button" title="example1.jpg" alt="example1.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="example2.jpg" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/84428iC50BB446886595B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="example2.jpg" alt="example2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2018 22:13:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-extract-data-from-dataset/m-p/368195#M10979</guid>
      <dc:creator>wellsayd</dc:creator>
      <dc:date>2018-03-01T22:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visual extract data from dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-extract-data-from-dataset/m-p/368473#M10988</link>
      <description>&lt;P&gt;Looks like it's limitation of categorical data view mapping.&lt;/P&gt;
&lt;P&gt;We'd recommend that you should try &lt;A href="https://github.com/Microsoft/PowerBI-visuals/blob/master/Capabilities/DataViewMappings.md#table-data-mapping" target="_blank"&gt;table view mapping&lt;/A&gt; out.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 12.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Ignat Vilesov,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Software Engineer&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;&lt;SPAN&gt;pbicvsupport@microsoft.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Mar 2018 07:41:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-extract-data-from-dataset/m-p/368473#M10988</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-03-02T07:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visual extract data from dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-extract-data-from-dataset/m-p/368813#M11002</link>
      <description>&lt;P&gt;I am using table view mapping.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Mar 2018 15:51:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-extract-data-from-dataset/m-p/368813#M11002</guid>
      <dc:creator>wellsayd</dc:creator>
      <dc:date>2018-03-02T15:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visual extract data from dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-extract-data-from-dataset/m-p/369599#M11020</link>
      <description>&lt;P&gt;Power BI doesn't support Count aggregation for null values.&lt;/P&gt;
&lt;P&gt;You might propose an &lt;A href="https://ideas.powerbi.com/forums/265200-power-bi?WT.mc_id=Community" target="_blank"&gt;idea &lt;/A&gt;to support Count for null values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Ignat Vilesov,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Software Engineer&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;&lt;SPAN&gt;pbicvsupport@microsoft.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 08:22:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-extract-data-from-dataset/m-p/369599#M11020</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-03-05T08:22:04Z</dc:date>
    </item>
  </channel>
</rss>

