<?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: How to filter 2 different columns using &amp;quot;OR&amp;quot; in Power BI Embedded with JS in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/How-to-filter-2-different-columns-using-quot-OR-quot-in-Power-BI/m-p/4887234#M63940</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="67670" data-lia-user-login="gluizqueiroz" class="lia-mention lia-mention-user"&gt;gluizqueiroz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;May I ask if you have resolved this issue? Please let us know if you have any further issues, we are happy to help.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 27 Nov 2025 06:35:33 GMT</pubDate>
    <dc:creator>v-venuppu</dc:creator>
    <dc:date>2025-11-27T06:35:33Z</dc:date>
    <item>
      <title>How to filter 2 different columns using "OR" in Power BI Embedded with JS</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-filter-2-different-columns-using-quot-OR-quot-in-Power-BI/m-p/4880247#M63851</link>
      <description>&lt;LI-CODE lang="markup"&gt;const basicFilter = { 
	$schema: "https://powerbi.com/product/schema#basic", 
	target: { 
		table: "Store", 
		column: "Salesperson" 
	}, 
	operator: "In", 
	values: [202], 
	filterType: models.FilterType.BasicFilter, 
	requireSingleSelection: true 
}&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Im using this type of filter when embedding a Power BI Report using JS API.&lt;BR /&gt;Now, I filter the column "Salesperson" only, from table "Store".&lt;BR /&gt;But now, I need to change this, I need to do this following logic:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Table: Store
Column: Salesperson
Values: [202]

OR

Table: Store
Column: Manager
Values: [202]&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Because, the user = 202, has registers when he was "salesperson" and registers when he was "manager" and I need to show both results.&lt;BR /&gt;How can I achive this "OR" in Power BI Embedded API JS?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Nov 2025 20:10:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-filter-2-different-columns-using-quot-OR-quot-in-Power-BI/m-p/4880247#M63851</guid>
      <dc:creator>gluizqueiroz</dc:creator>
      <dc:date>2025-11-19T20:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter 2 different columns using "OR" in Power BI Embedded with JS</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-filter-2-different-columns-using-quot-OR-quot-in-Power-BI/m-p/4880280#M63852</link>
      <description>&lt;P&gt;Create a calculated column&amp;nbsp; [SalesPerson] &amp;amp; "|" &amp;amp; [Manager].&lt;/P&gt;
&lt;P&gt;Use PATHCONTAINS&amp;nbsp; with your search criteria.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Nov 2025 20:50:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-filter-2-different-columns-using-quot-OR-quot-in-Power-BI/m-p/4880280#M63852</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2025-11-19T20:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter 2 different columns using "OR" in Power BI Embedded with JS</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-filter-2-different-columns-using-quot-OR-quot-in-Power-BI/m-p/4882103#M63885</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="67670" data-lia-user-login="gluizqueiroz" class="lia-mention lia-mention-user"&gt;gluizqueiroz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thank you for reaching out to Microsoft Fabric Community.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;for the prompt response.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;You can apply an OR filter across two different columns in Power BI Embedded by using an Advanced Filter. Basic Filters only allow filtering one column at a time, but Advanced Filters support combining conditions with OR logic.&lt;/P&gt;
&lt;P&gt;In your case, you would create one advanced filter that contains:&lt;/P&gt;
&lt;P&gt;Condition 1: Store[Salesperson] = 202&lt;/P&gt;
&lt;P&gt;Condition 2: Store[Manager] = 202&lt;/P&gt;
&lt;P&gt;Logical operator: OR&lt;/P&gt;
&lt;P&gt;When applied, the report will show all rows where the user is either a salesperson or a manager, without needing any changes to your data model or calculated columns.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Nov 2025 12:38:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-filter-2-different-columns-using-quot-OR-quot-in-Power-BI/m-p/4882103#M63885</guid>
      <dc:creator>v-venuppu</dc:creator>
      <dc:date>2025-11-21T12:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter 2 different columns using "OR" in Power BI Embedded with JS</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-filter-2-different-columns-using-quot-OR-quot-in-Power-BI/m-p/4883665#M63897</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="67670" data-lia-user-login="gluizqueiroz" class="lia-mention lia-mention-user"&gt;gluizqueiroz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I wanted to check if you had the opportunity to review the information provided and resolve the issue..?Please let us know if you need any further assistance.We are happy to help.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;SPAN data-teams="true"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2025 07:18:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-filter-2-different-columns-using-quot-OR-quot-in-Power-BI/m-p/4883665#M63897</guid>
      <dc:creator>v-venuppu</dc:creator>
      <dc:date>2025-11-24T07:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter 2 different columns using "OR" in Power BI Embedded with JS</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-filter-2-different-columns-using-quot-OR-quot-in-Power-BI/m-p/4887234#M63940</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="67670" data-lia-user-login="gluizqueiroz" class="lia-mention lia-mention-user"&gt;gluizqueiroz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;May I ask if you have resolved this issue? Please let us know if you have any further issues, we are happy to help.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2025 06:35:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-filter-2-different-columns-using-quot-OR-quot-in-Power-BI/m-p/4887234#M63940</guid>
      <dc:creator>v-venuppu</dc:creator>
      <dc:date>2025-11-27T06:35:33Z</dc:date>
    </item>
  </channel>
</rss>

