<?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 adding dataview table in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/custom-visual-adding-dataview-table/m-p/1031745#M23167</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You right its better to rebuild the whole model.&lt;/P&gt;&lt;P&gt;In my case i found a way to solve this,&amp;nbsp; i changed&amp;nbsp; "group" by selection from&amp;nbsp;&lt;STRONG&gt;Legend&lt;/STRONG&gt; to &lt;STRONG&gt;Task.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now data is no longer filtered by legend but it my case that helps and i get all the records I need.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;"values": {
                    "group": {
                        "by": "Task",
                        "select": [
                            {
                                "for": {
                                    "in": "EndDate"
                                }
                            },
                            {
                                "for": {
                                    "in": "Duration"
                                }
                            },
                            {
                                "for": {
                                    "in": "Completion"
                                }
                            }
                        ]
                    }
                }
            }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Apr 2020 07:46:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-04-17T07:46:06Z</dc:date>
    <item>
      <title>custom visual adding dataview table</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/custom-visual-adding-dataview-table/m-p/1024396#M23098</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;im using this custom visual template :&amp;nbsp;&amp;nbsp;&lt;A href="https://github.com/microsoft/powerbi-visuals-gantt/blob/master/capabilities.json" target="_blank" rel="noopener"&gt;https://github.com/microsoft/powerbi-visuals-gantt/blob/master/capabilities.json&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This works fine!&amp;nbsp;&lt;/P&gt;&lt;P&gt;In addition to the categorical filter i need to insert data without filtering, thats why i need an &lt;SPAN&gt;additional table&lt;/SPAN&gt;!?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Import data has only one column and 10 rows.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Just to be clear: An array in code with 10 indeces could solve this!&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What i tried:&lt;/P&gt;&lt;P&gt;I add a new field "mydataset" to role and table to the existing capabilities.json&lt;/P&gt;&lt;P&gt;But i cant acces my data: -&amp;gt; "&lt;SPAN&gt;dataView.table "is null&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
    "dataRoles": [
        {
            "name": "Legend",
            "displayName": "Legend",
            "displayNameKey": "Role_Legend",
            "kind": "Grouping"
        },
        {
            "name": "Task",
            "displayName": "Task",
            "displayNameKey": "Role_Task",
            "kind": "Grouping"
        },
        {
            "name": "My Data Set",
            "displayName": "mydataset",
            "displayNameKey": "Role_mydata",
            "kind": "Grouping"
        },
        {
            "name": "Parent",
            "displayName": "Parent",
            "displayNameKey": "Role_Parent",
            "kind": "Grouping"
        },

.....
....
...
 "categorical": {
                "categories": {
                    "select": [
                        {
                            "for": {
                                "in": "Task"
                            }
                        },
                        {
                            "for": {
                                "in": "Parent"
                            }
                        },
                    
                        {
                            "for": {
                                "in": "StartDate"
                            }
                        },
                        {
                            "for": {
                                "in": "Resource"
                            }
                        },
                        {
                            "for": {
                                "in": "ExtraInformation"
                            }
                        },
                        {
                            "for": {
                                "in": "Milestones"
                            }
                        }
                    ]
                },
                "values": {
                    "group": {
                        "by": "Legend",
                        "select": [
                            {
                                "for": {
                                    "in": "EndDate"
                                }
                            },
                            {
                                "for": {
                                    "in": "Duration"
                                }
                            },
                            {
                                "for": {
                                    "in": "Completion"
                                }
                            }
                        ]
                    }
                }
            }
        } , {
            "table": {
                "rows": {
                    "for": {
                        "in": "mydataset"
                    }
                }
            }
        }
    ],
    "objects": {
        "general": {
            "displayName": "General",
            "displayNameKey": "Visual_General",
            "properties": {
                "groupTasks": {
                    "displayName": "Group Tasks",
                    "displayNameKey": "Visual_GroupTasks",
                    "type": {
 ......
.....&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"matrix" : null,&lt;/P&gt;&lt;P&gt;"table" : null,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;categorical: {...}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Edit:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I think is not possible to use more then one dataviewmapping like categorical and table.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please let me know if I'm wrong.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 09:46:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/custom-visual-adding-dataview-table/m-p/1024396#M23098</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-14T09:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: custom visual adding dataview table</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/custom-visual-adding-dataview-table/m-p/1024571#M23100</link>
      <description>&lt;P&gt;Hi @Anonymous&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;You can only use one dataViewMapping in a custom visual, so you need to think about which one best suits your need to get the data into the visual to begin with. Once it's in there, you can transform it into a suitably-shaped view model to fit your visual logic.&lt;/P&gt;
&lt;P&gt;If you're able to provide an overview of what your goals are, I might be able to suggest what your dataViewMapping and dataRoles need to look like. From where you're starting off, it looks like you're trying to produce gantt-like functionality? If you have any sample data and what your expected output is, this would be a great help in figuring out the best way to assist. Custom visuals can be somewhat open-ended so anything that can clarify what success looks like will hopefully avoid as much ambiguity up-front as possible.&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 10:08:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/custom-visual-adding-dataview-table/m-p/1024571#M23100</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2020-04-14T10:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: custom visual adding dataview table</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/custom-visual-adding-dataview-table/m-p/1026659#M23124</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;thanks for support.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Date is filtered with a timeline slicer. This causes my records to be filtered by date as well.&lt;/P&gt;&lt;P&gt;But I need in my custom visual additional records that are not filtered by date but by another value. Like the option "Show item with no data" but this has no effect, on my datarole field&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&lt;BR /&gt;I need to visualise the "blue" entries -this works!&lt;/P&gt;&lt;P&gt;But i also need entries only filtered by Table2.Teams ("green").&amp;nbsp; How can I access the same Team (blue&amp;nbsp; green) entries without being affected by the date filter?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table1&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Name&lt;/TD&gt;&lt;TD&gt;Task&lt;/TD&gt;&lt;TD&gt;Starttime&lt;/TD&gt;&lt;TD&gt;Endtime&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Team&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;FONT color="#0000FF"&gt;Testuser1&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#0000FF"&gt;Task1&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#0000FF"&gt;1/12/2019&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#0000FF"&gt;20/12/2019&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#0000FF"&gt;Team1&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;FONT color="#0000FF"&gt;TestUser1&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#0000FF"&gt;Task2&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#0000FF"&gt;22/12/2019&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#0000FF"&gt;30/12/2019&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#0000FF"&gt;Team1&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;FONT color="#008000"&gt;TestUser3&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#008000"&gt;Task0&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#008000"&gt;1/11/2019&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#008000"&gt;3/11/2019&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#008000"&gt;Team1&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;TestUser2&lt;/TD&gt;&lt;TD&gt;Task7&lt;/TD&gt;&lt;TD&gt;1/11/2019&lt;/TD&gt;&lt;TD&gt;3/11/2019&lt;/TD&gt;&lt;TD&gt;Team2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table2&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;TeamName&lt;/TD&gt;&lt;TD&gt;additonal fields&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;FONT color="#008000"&gt;Team1&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;entry1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Team2&lt;/TD&gt;&lt;TD&gt;entry2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Wed, 15 Apr 2020 08:11:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/custom-visual-adding-dataview-table/m-p/1026659#M23124</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-15T08:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: custom visual adding dataview table</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/custom-visual-adding-dataview-table/m-p/1031745#M23167</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You right its better to rebuild the whole model.&lt;/P&gt;&lt;P&gt;In my case i found a way to solve this,&amp;nbsp; i changed&amp;nbsp; "group" by selection from&amp;nbsp;&lt;STRONG&gt;Legend&lt;/STRONG&gt; to &lt;STRONG&gt;Task.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now data is no longer filtered by legend but it my case that helps and i get all the records I need.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;"values": {
                    "group": {
                        "by": "Task",
                        "select": [
                            {
                                "for": {
                                    "in": "EndDate"
                                }
                            },
                            {
                                "for": {
                                    "in": "Duration"
                                }
                            },
                            {
                                "for": {
                                    "in": "Completion"
                                }
                            }
                        ]
                    }
                }
            }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 07:46:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/custom-visual-adding-dataview-table/m-p/1031745#M23167</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-17T07:46:06Z</dc:date>
    </item>
  </channel>
</rss>

