<?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: set value field in report powerbi by custom visual in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/set-value-field-in-report-powerbi-by-custom-visual/m-p/314536#M491</link>
    <description>&lt;P&gt;Thanks &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/17823"&gt;@v-viig&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;it is run.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marco Baciga&lt;/P&gt;&lt;P&gt;BI Consulting@24 Consulting&lt;/P&gt;</description>
    <pubDate>Thu, 30 Nov 2017 09:17:59 GMT</pubDate>
    <dc:creator>marcobaciga</dc:creator>
    <dc:date>2017-11-30T09:17:59Z</dc:date>
    <item>
      <title>set value field in report powerbi by custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/set-value-field-in-report-powerbi-by-custom-visual/m-p/309927#M474</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I must in m y custom visual to send a value like filter in each visual object in my report powerbi when i click a icon.&lt;/P&gt;&lt;P&gt;Is it possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2017 16:37:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/set-value-field-in-report-powerbi-by-custom-visual/m-p/309927#M474</guid>
      <dc:creator>marcobaciga</dc:creator>
      <dc:date>2017-11-23T16:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: set value field in report powerbi by custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/set-value-field-in-report-powerbi-by-custom-visual/m-p/310422#M475</link>
      <description>&lt;P&gt;There're three ways to filter/select values:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://github.com/Microsoft/powerbi-visuals-sampleslicer/blob/master/doc/UsingAdvancedFilterAPI.md" target="_blank"&gt;Advanced Filter API&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://github.com/Microsoft/PowerBI-visuals/blob/master/Tutorial/Selection.md" target="_blank"&gt;Selection&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://github.com/Microsoft/PowerBI-visuals-tools/blob/8f7efcfceeaa796d621f3cba35157ee8adeeed71/templates/visuals/.api/v1.9.0/PowerBI-visuals.d.ts#L1269" target="_blank"&gt;applySelectionFilter&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if you have any questions.&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>Fri, 24 Nov 2017 08:42:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/set-value-field-in-report-powerbi-by-custom-visual/m-p/310422#M475</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2017-11-24T08:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: set value field in report powerbi by custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/set-value-field-in-report-powerbi-by-custom-visual/m-p/310501#M476</link>
      <description>&lt;P&gt;Thank you &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/17823"&gt;@v-viig&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I have see this link &lt;A href="https://github.com/Microsoft/PowerBI-visuals/blob/master/Visual/Selection.md#creating-selection-ids-selectionidbuilder" target="_self"&gt;Handling Visual Selection&lt;/A&gt; but i dont understand.&lt;/P&gt;&lt;P&gt;I have two categories in my custom visual and when i click i have to filter this two values.&lt;/P&gt;&lt;P&gt;Do you have a code for example?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marco Baciga,&lt;/P&gt;&lt;P&gt;BI Consultant@24Consulting&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2017 09:42:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/set-value-field-in-report-powerbi-by-custom-visual/m-p/310501#M476</guid>
      <dc:creator>marcobaciga</dc:creator>
      <dc:date>2017-11-24T09:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: set value field in report powerbi by custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/set-value-field-in-report-powerbi-by-custom-visual/m-p/311339#M479</link>
      <description>&lt;P&gt;Could you please sahre your capabilities.json?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As far as I understand the requirement, you sould use this code snippet to create a SelectionId for each category:&lt;/P&gt;&lt;PRE&gt;let dataViews = options.dataViews // options: VisualUpdateOptions
let categorical = dataViews[0].categorical;

let categoryIndex: number = 0; // Index of category
let i: number = 0; // this is index of your value in the category

let selectionId = host.createSelectionIdBuilder()
    .withCategory(categorical.categories[categoryIndex], i)
    .createSelectionId();&lt;/PRE&gt;&lt;P&gt;After that, you should use selectionManager.select method to select&amp;nbsp;categories:&lt;/P&gt;&lt;PRE&gt;this.selectionManager.select(selectionId, true).then((ids: ISelectionId[]) =&amp;gt; {
    //called when setting the selection has been completed successfully
});&lt;/PRE&gt;&lt;P&gt;Please let me know if you have any questions.&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, 27 Nov 2017 08:26:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/set-value-field-in-report-powerbi-by-custom-visual/m-p/311339#M479</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2017-11-27T08:26:12Z</dc:date>
    </item>
    <item>
      <title>set value field in report powerbi by custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/set-value-field-in-report-powerbi-by-custom-visual/m-p/313556#M487</link>
      <description>&lt;P&gt;Thank you &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/17823"&gt;@v-viig&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;i try your code and it runs.&lt;/P&gt;&lt;P&gt;I have tried to pass the array selectionId in selectionManager.select but it doesnt run.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I write my code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;let selectionId = [];&lt;/P&gt;&lt;P&gt;selectionId [0] = host.createSelectionIdBuilder()&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .withCategory(categorical.categories[0], 0)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;.withCategory(categorical.categories[1], 0)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .createSelectionId();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;selectionId [1] = host.createSelectionIdBuilder()&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .withCategory(categorical.categories[0],1)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;.withCategory(categorical.categories[1], 1)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .createSelectionId();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this.selectionManager.select(selectionId, true).then((ids: ISelectionId[]) =&amp;gt; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //called when setting the selection has been completed successfully&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where is wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marco Baciga@24COnsulting&lt;/P&gt;&lt;P&gt;BI COnsultant&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 08:55:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/set-value-field-in-report-powerbi-by-custom-visual/m-p/313556#M487</guid>
      <dc:creator>marcobaciga</dc:creator>
      <dc:date>2017-11-29T08:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: set value field in report powerbi by custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/set-value-field-in-report-powerbi-by-custom-visual/m-p/314425#M488</link>
      <description>&lt;P&gt;This code snippet is going to address the issue:&lt;/P&gt;&lt;PRE&gt;let selectionIds = [];

selectionIds.push(host.createSelectionIdBuilder()
    .withCategory(categorical.categories[0], 0)
    .createSelectionId()
);

selectionIds.push(host.createSelectionIdBuilder()
    .withCategory(categorical.categories[1], 0)
    .createSelectionId()
);

selectionIds.push(host.createSelectionIdBuilder()
    .withCategory(categorical.categories[0], 1)
    .createSelectionId()
);

selectionIds.push(host.createSelectionIdBuilder()
    .withCategory(categorical.categories[1], 1)
    .createSelectionId()
);

selectionIds.forEach((selectionId) =&amp;gt; {
    this.selectionManager.select(selectionId, true)
});&lt;/PRE&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, 30 Nov 2017 07:17:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/set-value-field-in-report-powerbi-by-custom-visual/m-p/314425#M488</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2017-11-30T07:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: set value field in report powerbi by custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/set-value-field-in-report-powerbi-by-custom-visual/m-p/314536#M491</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/17823"&gt;@v-viig&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;it is run.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marco Baciga&lt;/P&gt;&lt;P&gt;BI Consulting@24 Consulting&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2017 09:17:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/set-value-field-in-report-powerbi-by-custom-visual/m-p/314536#M491</guid>
      <dc:creator>marcobaciga</dc:creator>
      <dc:date>2017-11-30T09:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: set value field in report powerbi by custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/set-value-field-in-report-powerbi-by-custom-visual/m-p/554822#M1577</link>
      <description>&lt;P&gt;I tried this snippet under Power BI API 2.1, it works fine for the first row, then it continues to work only for that row, so I can deselect it, select again, etc. And another control (e.g. Donut chart) displays selected value highlighted while I would expect all other values filtered out and only selected one displayed. Then if I select another row, Donut chart displays "Can't display the visual" error.&lt;BR /&gt;Even if I deselect that another row and select the 1st row back, I still get that error.&lt;/P&gt;&lt;P&gt;Under API 1.13 this snippet has no effect.&lt;/P&gt;&lt;P&gt;So what I want to know is how can I filter out unselected rows, not just highlight selected ones, so my slicer to work like &lt;A href="https://appsource.microsoft.com/en-us/product/power-bi-visuals/WA104380820" target="_self"&gt;HierarchySlicer&lt;/A&gt;&amp;nbsp;or &lt;A href="https://github.com/Microsoft/powerbi-visuals-sampleslicer/" target="_self"&gt;Sample Slicer&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Is the only way to achieve this is to use Interactivity Service?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is how I did this. First I added a check box for each of options.dataViews[0].categorical.categories[0].values both to control and this.checkboxes list so that i in snippet below represents row index and then when user checks or clears any checkbox, I clear selection and add each row index to it.&lt;/P&gt;&lt;PRE&gt;private onCheckBoxChange() {
    this.selectionManager.clear();
    for (let i = 0; i &amp;lt; this.checkBoxes.length; i++) {
        const checkBox = this.checkBoxes[i];
        if (checkBox.checked) {
            for (let category of this.updateOptions.dataViews[0].categorical.categories) {
                const selectionId = this.selectionIdBuidler
                    .withCategory(category, i)
                    .createSelectionId();
                this.selectionManager.select(selectionId, true);
            }
        }
    }
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;selectionManager and selectionIdBuilder are created in constructor&lt;/P&gt;&lt;PRE&gt;constructor(options: VisualConstructorOptions) {
    this.selectionManager = options.host.createSelectionManager();
    this.selectionIdBuidler = options.host.createSelectionIdBuilder();
    ...
}&lt;/PRE&gt;&lt;P&gt;and the checkboxes in update method&lt;/P&gt;&lt;PRE&gt;public update(options: VisualUpdateOptions) {
    ...
    const values = options.dataViews[0].categorical.categories[0].values;
    for (let i in values) {
        const value = values[i];

        const checkBox = document.createElement("input");
        checkBox.type = "checkbox";
        checkBox.addEventListener("change", () =&amp;gt; this.onCheckBoxChange());
        this.checkBoxes.push(checkBox);
        ...
    }
    ...
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Oct 2018 07:52:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/set-value-field-in-report-powerbi-by-custom-visual/m-p/554822#M1577</guid>
      <dc:creator>seregindv</dc:creator>
      <dc:date>2018-10-29T07:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: set value field in report powerbi by custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/set-value-field-in-report-powerbi-by-custom-visual/m-p/554842#M1579</link>
      <description>&lt;P&gt;Do you want to imlement a Slicer to filter data out?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If so, please use &lt;A href="https://microsoft.github.io/PowerBI-visuals/tutorials/building-slicer-visual/using-the-advanced-filter-api/" target="_blank"&gt;JSON Filter&lt;/A&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;pbicvsupport@microsoft.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Oct 2018 08:19:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/set-value-field-in-report-powerbi-by-custom-visual/m-p/554842#M1579</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-10-29T08:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: set value field in report powerbi by custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/set-value-field-in-report-powerbi-by-custom-visual/m-p/555098#M1582</link>
      <description>&lt;P&gt;I just want to implement the same behavior as &lt;A href="https://github.com/Microsoft/powerbi-visuals-sampleslicer/" target="_self"&gt;SampleSlicer&lt;/A&gt; has in the bottom part:&amp;nbsp;show list of possible values, where some of them can be&amp;nbsp;checked and all&amp;nbsp;unchecked&amp;nbsp;filtered out.&lt;/P&gt;&lt;P&gt;Is JSON filter&amp;nbsp;suitable for this task? I though it is primarily intended to be used for range filters and I need to use something different that allows to select discrete values..&lt;/P&gt;</description>
      <pubDate>Mon, 29 Oct 2018 12:16:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/set-value-field-in-report-powerbi-by-custom-visual/m-p/555098#M1582</guid>
      <dc:creator>seregindv</dc:creator>
      <dc:date>2018-10-29T12:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: set value field in report powerbi by custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/set-value-field-in-report-powerbi-by-custom-visual/m-p/555843#M1584</link>
      <description>&lt;P&gt;Yes, JSON Filter can be used to filter data. In your case you shoould use BasicFilter.&lt;/P&gt;
&lt;P&gt;You can find details in &lt;A href="https://github.com/Microsoft/powerbi-models#readme" target="_self"&gt;powerbi-models documentation&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN class="pl-k"&gt;const&lt;/SPAN&gt; basicFilter&lt;SPAN class="pl-k"&gt;:&lt;/SPAN&gt; &lt;SPAN class="pl-en"&gt;models&lt;/SPAN&gt;.&lt;SPAN class="pl-en"&gt;IBasicFilter&lt;/SPAN&gt; &lt;SPAN class="pl-k"&gt;=&lt;/SPAN&gt; {
  target: {
    table: &lt;SPAN class="pl-s"&gt;&lt;SPAN class="pl-pds"&gt;"&lt;/SPAN&gt;Products&lt;SPAN class="pl-pds"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;,
    column: &lt;SPAN class="pl-s"&gt;&lt;SPAN class="pl-pds"&gt;"&lt;/SPAN&gt;Version&lt;SPAN class="pl-pds"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;
  },
  operator: &lt;SPAN class="pl-s"&gt;&lt;SPAN class="pl-pds"&gt;"&lt;/SPAN&gt;In&lt;SPAN class="pl-pds"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;,
  values: [
    &lt;SPAN class="pl-c1"&gt;1&lt;/SPAN&gt;,
    &lt;SPAN class="pl-c1"&gt;2&lt;/SPAN&gt;,
    &lt;SPAN class="pl-c1"&gt;3&lt;/SPAN&gt;,
    &lt;SPAN class="pl-c1"&gt;4&lt;/SPAN&gt;
  ]
};&lt;/PRE&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;pbicvsupport@microsoft.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2018 06:40:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/set-value-field-in-report-powerbi-by-custom-visual/m-p/555843#M1584</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-10-30T06:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: set value field in report powerbi by custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/set-value-field-in-report-powerbi-by-custom-visual/m-p/556192#M1585</link>
      <description>&lt;P&gt;What confuses me is that data I need to filter contains 5 string (and some more numeric) columns and 25-30000 rows. Primary key is those 5 string columns and user can select up to 15000 rows to display. And If I choose to use JSON Filter, I would probably need to use IAdvancedFilter with 5 'in' conditions each of which 'values' field contains up to 15000 elements string array. Would it be the best way to filter from performance standpoint?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Upd:&amp;nbsp;&lt;/STRONG&gt;I went ahead and attempted to implemented advanced filter with 5 'in' conditions and figured out that it doesn't support this type of condition. And basic filter can filter only one category..&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Upd2:&lt;/STRONG&gt; And advanced filter as well&lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2018 15:00:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/set-value-field-in-report-powerbi-by-custom-visual/m-p/556192#M1585</guid>
      <dc:creator>seregindv</dc:creator>
      <dc:date>2018-10-30T15:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: set value field in report powerbi by custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/set-value-field-in-report-powerbi-by-custom-visual/m-p/557057#M1586</link>
      <description>&lt;P&gt;Correct. There's no way to filter by two or more columns at the same time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Such a feature is landing soon (most likey by end of this year).&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;pbicvsupport@microsoft.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Oct 2018 05:57:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/set-value-field-in-report-powerbi-by-custom-visual/m-p/557057#M1586</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-10-31T05:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: set value field in report powerbi by custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/set-value-field-in-report-powerbi-by-custom-visual/m-p/557100#M1587</link>
      <description>&lt;P&gt;&lt;SPAN&gt;No way. I can't wait that long. &lt;A href="https://appsource.microsoft.com/en-us/product/power-bi-visuals/WA104380820" target="_self"&gt;HierarchySlicer&lt;/A&gt; can already do this and I probably can filter in the same way it does. How does it do this?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Oct 2018 06:31:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/set-value-field-in-report-powerbi-by-custom-visual/m-p/557100#M1587</guid>
      <dc:creator>seregindv</dc:creator>
      <dc:date>2018-10-31T06:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: set value field in report powerbi by custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/set-value-field-in-report-powerbi-by-custom-visual/m-p/559109#M1589</link>
      <description>&lt;P&gt;Hierarchy Slicer is on legacy API so far but it will be converted to PBI Custom Visuals API soon once multi column filtering API is released.&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;pbicvsupport@microsoft.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Nov 2018 10:30:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/set-value-field-in-report-powerbi-by-custom-visual/m-p/559109#M1589</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-11-02T10:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: set value field in report powerbi by custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/set-value-field-in-report-powerbi-by-custom-visual/m-p/2923571#M6265</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;v-viig&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried cross-filte by cross-select as below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--------------------------&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;let&lt;/SPAN&gt; &lt;SPAN&gt;rowSelection&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;ISelectionId&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;this&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;visualHost&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;createSelectionIdBuilder&lt;/SPAN&gt;&lt;SPAN&gt;()&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&lt;/SPAN&gt;&lt;SPAN&gt;withTable&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;this&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;dataView&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;table&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;rowIndex&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&lt;/SPAN&gt;&lt;SPAN&gt;createSelectionId&lt;/SPAN&gt;&lt;SPAN&gt;();&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;await&lt;/SPAN&gt;&amp;nbsp;this.&lt;SPAN&gt;selectionManager&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;select&lt;/SPAN&gt;&lt;SPAN&gt;(rowSelection&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;true&lt;/SPAN&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;SPAN&gt;then&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;result&lt;/SPAN&gt; &lt;SPAN&gt;=&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;console&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;log&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;result&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; });&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;-------------------------------&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;result is just like below&lt;/DIV&gt;&lt;DIV&gt;-------------------------&lt;/DIV&gt;&lt;DIV&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;[&lt;SPAN class=""&gt;t&lt;/SPAN&gt;]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;0&lt;/SPAN&gt;&lt;SPAN class=""&gt;: &lt;/SPAN&gt;&lt;SPAN class=""&gt;t&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;dataMap&lt;/SPAN&gt;&lt;SPAN class=""&gt;: &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;{"identityIndex":0}&lt;/SPAN&gt;&lt;SPAN class=""&gt;: &lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;[&lt;SPAN class=""&gt;{…}&lt;/SPAN&gt;]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;[[Prototype]]&lt;/SPAN&gt;&lt;SPAN class=""&gt;: &lt;/SPAN&gt;&lt;SPAN class=""&gt;Object&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;deepestNodeLevelInPath&lt;/SPAN&gt;&lt;SPAN class=""&gt;: &lt;/SPAN&gt;&lt;SPAN class=""&gt;-1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;key&lt;/SPAN&gt;&lt;SPAN class=""&gt;: &lt;/SPAN&gt;&lt;SPAN class=""&gt;"{\"{\\\"identityIndex\\\":0}\":[{\"identityIndex\":0}]}[]"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;measures&lt;/SPAN&gt;&lt;SPAN class=""&gt;: &lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;[]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;nodeIsCollapsed&lt;/SPAN&gt;&lt;SPAN class=""&gt;: &lt;/SPAN&gt;&lt;SPAN class=""&gt;null&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;[[Prototype]]&lt;/SPAN&gt;&lt;SPAN class=""&gt;: &lt;/SPAN&gt;&lt;SPAN class=""&gt;Object&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;length&lt;/SPAN&gt;&lt;SPAN class=""&gt;: &lt;/SPAN&gt;&lt;SPAN class=""&gt;1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;[[Prototype]]&lt;/SPAN&gt;&lt;SPAN class=""&gt;: &lt;/SPAN&gt;&lt;SPAN class=""&gt;Array(0)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;--------------------------------&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/OL&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;But this didn't cross-select the passed selectionID row in other visuals of the page.&lt;/DIV&gt;&lt;DIV&gt;What could be the reason. Any specific config setting in tsconfig, capabilities.json or webpack.config&lt;/DIV&gt;&lt;DIV&gt;Please advise.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Lasantha&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 07:21:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/set-value-field-in-report-powerbi-by-custom-visual/m-p/2923571#M6265</guid>
      <dc:creator>dakdgdl</dc:creator>
      <dc:date>2022-11-23T07:21:52Z</dc:date>
    </item>
  </channel>
</rss>

