<?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: DataViewMappings for hierarchical data with partial filtering in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/DataViewMappings-for-hierarchical-data-with-partial-filtering/m-p/281211#M370</link>
    <description>&lt;P&gt;As far as I understand you want to implement something like &lt;A href="https://github.com/Microsoft/PowerBI-visuals/blob/master/Capabilities/Drilldown.md" target="_blank"&gt;Drill down&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Is my understanding correct?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ignat Vilesov,&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;&lt;SPAN&gt;pbicvsupport@microsoft.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Oct 2017 07:20:11 GMT</pubDate>
    <dc:creator>v-viig</dc:creator>
    <dc:date>2017-10-18T07:20:11Z</dc:date>
    <item>
      <title>DataViewMappings for hierarchical data with partial filtering</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/DataViewMappings-for-hierarchical-data-with-partial-filtering/m-p/277857#M352</link>
      <description>&lt;P&gt;I have two groupings (category and subcategory), which I would like to represent in a hierarchical way in a custom visual.&lt;/P&gt;&lt;P&gt;Additionally to the&amp;nbsp;measures filtered on the combinations of the two groupings, I would like to have access to the measure value for each&amp;nbsp;value of the first grouping (the category)&amp;nbsp;without the split into the additional subcategory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The matrix visual does this and&amp;nbsp;shows what I want under&amp;nbsp;"Total". How can I configure a DataViewMapping to give me this information? Note that simply summing is not sufficient, as subcategories need not be unique or the measure could be a some ratio that doesn't have to&amp;nbsp;sum up to 1.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2017 12:09:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/DataViewMappings-for-hierarchical-data-with-partial-filtering/m-p/277857#M352</guid>
      <dc:creator>PBIcustomizer</dc:creator>
      <dc:date>2017-10-13T12:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: DataViewMappings for hierarchical data with partial filtering</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/DataViewMappings-for-hierarchical-data-with-partial-filtering/m-p/278970#M354</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/44342"&gt;@PBIcustomizer&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Totals and subtotals ara not supported by Power BI Custom Visuals API yet.&lt;/P&gt;&lt;P&gt;They are in backlog but there's no ETA.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ignat Vilesov,&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;&lt;SPAN&gt;pbicvsupport@microsoft.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2017 07:54:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/DataViewMappings-for-hierarchical-data-with-partial-filtering/m-p/278970#M354</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2017-10-16T07:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: DataViewMappings for hierarchical data with partial filtering</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/DataViewMappings-for-hierarchical-data-with-partial-filtering/m-p/280159#M362</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;Another option would be to use two category fields, one just for "Category" and a second one with "Category" and "Subcategory" (configured as groupings). Can I configure a DataViewMapping that works&amp;nbsp;like this? it would be easy to do with two mappings, but as far as I know this is not possible.&lt;/P&gt;&lt;P&gt;Any other way out?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2017 07:29:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/DataViewMappings-for-hierarchical-data-with-partial-filtering/m-p/280159#M362</guid>
      <dc:creator>PBIcustomizer</dc:creator>
      <dc:date>2017-10-17T07:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: DataViewMappings for hierarchical data with partial filtering</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/DataViewMappings-for-hierarchical-data-with-partial-filtering/m-p/280172#M364</link>
      <description>&lt;P&gt;Yes're correct. Power BI Custom Visuals API doesn't support multiple data-views at lest for now.&lt;/P&gt;&lt;P&gt;I suppose that you might use the table mapping for your case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ignat Vilesov,&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;&lt;SPAN&gt;pbicvsupport@microsoft.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2017 07:40:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/DataViewMappings-for-hierarchical-data-with-partial-filtering/m-p/280172#M364</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2017-10-17T07:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: DataViewMappings for hierarchical data with partial filtering</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/DataViewMappings-for-hierarchical-data-with-partial-filtering/m-p/280238#M365</link>
      <description>&lt;P&gt;How exactly could I do that?&lt;/P&gt;&lt;P&gt;Currently I have this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{
    "dataRoles": [
        {
            "displayName": "Category 1",
            "name": "category",
            "kind": "Grouping"
        },
        {
            "displayName": "Category 1 &amp;amp; 2",
            "name": "category2",
            "kind": "Grouping"
        },
        {
            "displayName": "Measure Data",
            "name": "measure",
            "kind": "Measure"
        }
    ],
    "dataViewMappings": [
        {
            "conditions" : [
                {
                    "category": { "max": 1 },
                    "category2": { "max": 2 }
                }
            ],
            "table": {
                "rows": {
                    "select": [
                        { "bind": { "to": "measure" } },
                        { "for": { "in": "category" } },
                        { "for": { "in": "category2" } }
                    ]
                }
            }
        }
    ]
}&lt;/PRE&gt;&lt;P&gt;Basically, I want the measures filtered by 'category' AND (completely separately) filtered by everything in 'category2'. That's not what this mapping does - how can I change it to get what I need?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For&amp;nbsp;example: if Category and Subcategory are two columns in my data, I would be to put Category in the 'category' field and Category AND Subcategory in the 'category2' field. The filtering by 'category' would give the aggregate values&amp;nbsp;per Category&amp;nbsp;and filtering by 'category2' would give the values one level further down in the hierarchy, for each combination of Category and Subcategory.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2017 08:36:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/DataViewMappings-for-hierarchical-data-with-partial-filtering/m-p/280238#M365</guid>
      <dc:creator>PBIcustomizer</dc:creator>
      <dc:date>2017-10-17T08:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: DataViewMappings for hierarchical data with partial filtering</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/DataViewMappings-for-hierarchical-data-with-partial-filtering/m-p/281211#M370</link>
      <description>&lt;P&gt;As far as I understand you want to implement something like &lt;A href="https://github.com/Microsoft/PowerBI-visuals/blob/master/Capabilities/Drilldown.md" target="_blank"&gt;Drill down&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Is my understanding correct?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ignat Vilesov,&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;&lt;SPAN&gt;pbicvsupport@microsoft.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2017 07:20:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/DataViewMappings-for-hierarchical-data-with-partial-filtering/m-p/281211#M370</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2017-10-18T07:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: DataViewMappings for hierarchical data with partial filtering</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/DataViewMappings-for-hierarchical-data-with-partial-filtering/m-p/281356#M374</link>
      <description>&lt;P&gt;In principle yes, but I want access to the different hierarchies all at once.&lt;/P&gt;&lt;P&gt;I tried&amp;nbsp;using drill down, but then I only get one specific view- either the top level (only one category) or the data filtered on everything.&lt;/P&gt;&lt;P&gt;Is there a way to combine the hierarchies when using drill down?&amp;nbsp;Maybe persisting the data from the higher levels?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2017 08:55:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/DataViewMappings-for-hierarchical-data-with-partial-filtering/m-p/281356#M374</guid>
      <dc:creator>PBIcustomizer</dc:creator>
      <dc:date>2017-10-18T08:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: DataViewMappings for hierarchical data with partial filtering</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/DataViewMappings-for-hierarchical-data-with-partial-filtering/m-p/282430#M379</link>
      <description>&lt;P&gt;As far as I know,&amp;nbsp;Power BI doesn't support&amp;nbsp;combining&amp;nbsp;&lt;SPAN&gt;hierarchies.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ignat Vilesov,&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;&lt;SPAN&gt;pbicvsupport@microsoft.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2017 07:48:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/DataViewMappings-for-hierarchical-data-with-partial-filtering/m-p/282430#M379</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2017-10-19T07:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: DataViewMappings for hierarchical data with partial filtering</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/DataViewMappings-for-hierarchical-data-with-partial-filtering/m-p/3741123#M9064</link>
      <description>&lt;P&gt;I know this is really old, but do you know if the custom visuals support summarization of a hierarchy now?&amp;nbsp; I have a matrix like&amp;nbsp;&lt;SPAN&gt;dataViewMappings and need to get the summary at each hierarchy level.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 22:47:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/DataViewMappings-for-hierarchical-data-with-partial-filtering/m-p/3741123#M9064</guid>
      <dc:creator>mastone</dc:creator>
      <dc:date>2024-03-04T22:47:20Z</dc:date>
    </item>
  </channel>
</rss>

