<?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 can't create custom visualization in table format in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/can-t-create-custom-visualization-in-table-format/m-p/65698#M2096</link>
    <description>&lt;P&gt;Hello...&lt;BR /&gt;I am trying to create a custom visual which has table as output from static data.&lt;BR /&gt;I am following "Table Data Mapping" from below link and I am not able to incorporate different pieces of code in one typescript file using CLI tool to create a table as shown in below link :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A title="https://github.com/Microsoft/PowerBI-visuals/blob/master/Capabilities/DataViewMappings.md#categorical-data-mapping" href="https://github.com/Microsoft/PowerBI-visuals/blob/master/Capabilities/DataViewMappings.md#categorical-data-mapping" target="_self"&gt;https://github.com/Microsoft/PowerBI-visuals/blob/master/Capabilities/DataViewMappings.md#categorical-data-mapping&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have added below lines of code to create a table data view from data but it is not displaying anything.&lt;/P&gt;&lt;PRE&gt;     var table = dataView.table;
                debugger;
                if(table){
                    var tablerows = table.rows;
                    var tablecolumns = table.columns;
                    var tabletotals = table.totals;
                  for(var i=0; i&amp;lt; tablerows.length; i++)
                  {
                      for(var j=0; j&amp;lt;tablecolumns.length; j++)
                      {
                          var value = tablerows[i][j];
                          viewModel.values[i].values.push(value);
                   }
                  }  
                }
            }&lt;/PRE&gt;&lt;P&gt;Can anyone please help me to understand the structure of typescript file to create a simple table with static data?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any sample template available for creating visualization in table format?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You...&lt;/P&gt;</description>
    <pubDate>Tue, 06 Sep 2016 13:48:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-09-06T13:48:32Z</dc:date>
    <item>
      <title>can't create custom visualization in table format</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/can-t-create-custom-visualization-in-table-format/m-p/65698#M2096</link>
      <description>&lt;P&gt;Hello...&lt;BR /&gt;I am trying to create a custom visual which has table as output from static data.&lt;BR /&gt;I am following "Table Data Mapping" from below link and I am not able to incorporate different pieces of code in one typescript file using CLI tool to create a table as shown in below link :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A title="https://github.com/Microsoft/PowerBI-visuals/blob/master/Capabilities/DataViewMappings.md#categorical-data-mapping" href="https://github.com/Microsoft/PowerBI-visuals/blob/master/Capabilities/DataViewMappings.md#categorical-data-mapping" target="_self"&gt;https://github.com/Microsoft/PowerBI-visuals/blob/master/Capabilities/DataViewMappings.md#categorical-data-mapping&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have added below lines of code to create a table data view from data but it is not displaying anything.&lt;/P&gt;&lt;PRE&gt;     var table = dataView.table;
                debugger;
                if(table){
                    var tablerows = table.rows;
                    var tablecolumns = table.columns;
                    var tabletotals = table.totals;
                  for(var i=0; i&amp;lt; tablerows.length; i++)
                  {
                      for(var j=0; j&amp;lt;tablecolumns.length; j++)
                      {
                          var value = tablerows[i][j];
                          viewModel.values[i].values.push(value);
                   }
                  }  
                }
            }&lt;/PRE&gt;&lt;P&gt;Can anyone please help me to understand the structure of typescript file to create a simple table with static data?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any sample template available for creating visualization in table format?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You...&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2016 13:48:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/can-t-create-custom-visualization-in-table-format/m-p/65698#M2096</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-06T13:48:32Z</dc:date>
    </item>
  </channel>
</rss>

