<?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: Power BI Embedded :  Cant doCross Filtering selecting multiple rows on a table visual pressing C in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Embedded-Cant-doCross-Filtering-selecting-multiple-rows/m-p/2363894#M34671</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/316515"&gt;@Hugo_Gallardo&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please review the following links, hope they can help you.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/microsoft/PowerBI-JavaScript/blob/34a899547e1aa3428a2408c578786495fc541a7d/demo/code-demo/scripts/codesamples.js" target="_self"&gt;codesamples.js&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yingyinr_0-1646033922341.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/676432i70D03FFA841B568D/image-size/large?v=v2&amp;amp;px=999" role="button" title="yingyinr_0-1646033922341.png" alt="yingyinr_0-1646033922341.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/microsoft/PowerBI-JavaScript/blob/34a899547e1aa3428a2408c578786495fc541a7d/demo/app/dataselection.js" target="_self"&gt;dataselection.js&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/javascript/api/overview/powerbi/handle-events#dataselected" target="_self"&gt;How to handle events&lt;/A&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;report: models.IReport
 page: models.IPage
 visual: models.IVisual
 filters: IFilter[]
 dataPoints: IIdentityValue[]&lt;/LI-CODE&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
    <pubDate>Mon, 28 Feb 2022 07:41:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-02-28T07:41:28Z</dc:date>
    <item>
      <title>Power BI Embedded :  Cant doCross Filtering selecting multiple rows on a table visual pressing CTRL</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Embedded-Cant-doCross-Filtering-selecting-multiple-rows/m-p/2359636#M34612</link>
      <description>&lt;P&gt;Hello I have the following problem:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have embedded different visuals from a PBIX file onto a asp.net core razor view.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have achieved that when a user clicks on a row in a table visual, detect the item and corssfilter the other embedded visuals as the user clicks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the Power BI environment you can do the same, but by pressing the CTRL key, you can select multiple rows and then it will filter the whole visuals on that page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As we achieved the crossfiltering selecting just one we thought it would do the same by pressing CTRL, the problem is that PowerBI Embedded&amp;nbsp; visual is not detecting the CTRL key and it is not actually detecting that we are selecting more than one row and it changes the whole filters to the first selected row.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are detecting via JS the CTRL key&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hugo_Gallardo_0-1645732849614.png" style="width: 823px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/675326iC0819622A73CFDE3/image-dimensions/823x398?v=v2" width="823" height="398" role="button" title="Hugo_Gallardo_0-1645732849614.png" alt="Hugo_Gallardo_0-1645732849614.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After we click in more than one row or item, the event is lost and we can't get the list that the user was selecting:&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="Hugo_Gallardo_1-1645732908822.png" style="width: 842px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/675329iB9FC4BA189BD4CA4/image-dimensions/842x386?v=v2" width="842" height="386" role="button" title="Hugo_Gallardo_1-1645732908822.png" alt="Hugo_Gallardo_1-1645732908822.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;We have tried the following without results:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;a)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;1. document.addEventListener('keydown', function(event) {&lt;BR /&gt;console.log(event.key);&lt;BR /&gt;}, false);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;b)&lt;/P&gt;&lt;P&gt;document.addEventListener('keydown', prueba);&lt;/P&gt;&lt;P&gt;function prueba(e) {&lt;BR /&gt;console.log(e.KeyCode);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;c)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hugo_Gallardo_2-1645733077481.png" style="width: 836px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/675330i8199D7CC9AAFE7D2/image-dimensions/836x230?v=v2" width="836" height="230" role="button" title="Hugo_Gallardo_2-1645733077481.png" alt="Hugo_Gallardo_2-1645733077481.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;$("#Tb3").keypress(function() {&lt;BR /&gt;console.log( "Handler for .keypress() called." );&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;d)&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="Hugo_Gallardo_3-1645733146186.png" style="width: 840px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/675331i3F2BDDEE47B8631B/image-dimensions/840x231?v=v2" width="840" height="231" role="button" title="Hugo_Gallardo_3-1645733146186.png" alt="Hugo_Gallardo_3-1645733146186.png" /&gt;&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;&lt;BR /&gt;&lt;BR /&gt;e)&amp;nbsp;&lt;/P&gt;&lt;P&gt;$(document).bind("keyup keydown", function(e){&lt;BR /&gt;console.log(e);&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any suggestion to help us achieve our goal?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&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;</description>
      <pubDate>Thu, 24 Feb 2022 20:06:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Embedded-Cant-doCross-Filtering-selecting-multiple-rows/m-p/2359636#M34612</guid>
      <dc:creator>Hugo_Gallardo</dc:creator>
      <dc:date>2022-02-24T20:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Embedded :  Cant doCross Filtering selecting multiple rows on a table visual pressing C</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Embedded-Cant-doCross-Filtering-selecting-multiple-rows/m-p/2363894#M34671</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/316515"&gt;@Hugo_Gallardo&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please review the following links, hope they can help you.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/microsoft/PowerBI-JavaScript/blob/34a899547e1aa3428a2408c578786495fc541a7d/demo/code-demo/scripts/codesamples.js" target="_self"&gt;codesamples.js&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yingyinr_0-1646033922341.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/676432i70D03FFA841B568D/image-size/large?v=v2&amp;amp;px=999" role="button" title="yingyinr_0-1646033922341.png" alt="yingyinr_0-1646033922341.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/microsoft/PowerBI-JavaScript/blob/34a899547e1aa3428a2408c578786495fc541a7d/demo/app/dataselection.js" target="_self"&gt;dataselection.js&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/javascript/api/overview/powerbi/handle-events#dataselected" target="_self"&gt;How to handle events&lt;/A&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;report: models.IReport
 page: models.IPage
 visual: models.IVisual
 filters: IFilter[]
 dataPoints: IIdentityValue[]&lt;/LI-CODE&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 07:41:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Embedded-Cant-doCross-Filtering-selecting-multiple-rows/m-p/2363894#M34671</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-28T07:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Embedded :  Cant doCross Filtering selecting multiple rows on a table visual pressing C</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Embedded-Cant-doCross-Filtering-selecting-multiple-rows/m-p/2368499#M34713</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried in the following way, as you propose, but without success&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="abner_0-1646171782924.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/677622i6922DED63C230167/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abner_0-1646171782924.png" alt="abner_0-1646171782924.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the dataSelected event I can't get the Ctrl event&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="abner_1-1646172057109.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/677625iCFDB61DDB6976831/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abner_1-1646172057109.png" alt="abner_1-1646172057109.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2022 22:14:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Embedded-Cant-doCross-Filtering-selecting-multiple-rows/m-p/2368499#M34713</guid>
      <dc:creator>abner</dc:creator>
      <dc:date>2022-03-01T22:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Embedded :  Cant doCross Filtering selecting multiple rows on a table visual pressing C</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Embedded-Cant-doCross-Filtering-selecting-multiple-rows/m-p/2430400#M35266</link>
      <description>&lt;P&gt;I have tried in the following way, as you propose, but without success&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="Hugo_Gallardo_0-1648760836199.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/693009i7E7AAAA3ED256565/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hugo_Gallardo_0-1648760836199.png" alt="Hugo_Gallardo_0-1648760836199.png" /&gt;&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;With the dataSelected event I can't get the Ctrl event&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="Hugo_Gallardo_1-1648760836179.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/693008i07937CABD3640E57/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hugo_Gallardo_1-1648760836179.png" alt="Hugo_Gallardo_1-1648760836179.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 21:07:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Embedded-Cant-doCross-Filtering-selecting-multiple-rows/m-p/2430400#M35266</guid>
      <dc:creator>Hugo_Gallardo</dc:creator>
      <dc:date>2022-03-31T21:07:26Z</dc:date>
    </item>
  </channel>
</rss>

