<?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 a single filter for two columns in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/a-single-filter-for-two-columns/m-p/3831697#M149818</link>
    <description>&lt;P&gt;i have two columns "assigned to" and "assigned by" and there are common people in both the columns.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i want to have a single filter to filter out both the columns at once. what i mean to say is, let's say joe has 5 tickets "assigned to" him. and he also has 7 other tickets "assigned by" him. so when i filter with the name of joe, i need to to see 12 tickets in total, i.e. both the assigned to and assigned by tickets. how do i achieve this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ps: i created a new table merging both these columns but I couldn't get a proper relationship between the two tables as there are null values within these columns.&lt;/P&gt;</description>
    <pubDate>Thu, 11 Apr 2024 18:51:47 GMT</pubDate>
    <dc:creator>sajit</dc:creator>
    <dc:date>2024-04-11T18:51:47Z</dc:date>
    <item>
      <title>a single filter for two columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/a-single-filter-for-two-columns/m-p/3831697#M149818</link>
      <description>&lt;P&gt;i have two columns "assigned to" and "assigned by" and there are common people in both the columns.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i want to have a single filter to filter out both the columns at once. what i mean to say is, let's say joe has 5 tickets "assigned to" him. and he also has 7 other tickets "assigned by" him. so when i filter with the name of joe, i need to to see 12 tickets in total, i.e. both the assigned to and assigned by tickets. how do i achieve this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ps: i created a new table merging both these columns but I couldn't get a proper relationship between the two tables as there are null values within these columns.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 18:51:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/a-single-filter-for-two-columns/m-p/3831697#M149818</guid>
      <dc:creator>sajit</dc:creator>
      <dc:date>2024-04-11T18:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: a single filter for two columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/a-single-filter-for-two-columns/m-p/3831713#M149821</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="722193" data-lia-user-login="sajit" class="lia-mention lia-mention-user"&gt;sajit&lt;/a&gt;&amp;nbsp;Normally you would unpivot those columns. You could also do a Complex Selector:&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/The-Complex-Selector/m-p/1116633#M534" target="_blank"&gt;The Complex Selector - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Like:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure =
  VAR __User = MAX('User'[User]) // refer to whatever you are using to pick your user
  VAR __AssignedTo = MAX('Table'[assigned to])
  VAR __AssignedBy = MAX('Table'[assigned by])
  VAR __Result = IF(__AssignedTo = __User || __AssignedBy = __User, 1, 0)
RETURN
  __Result&lt;/LI-CODE&gt;
&lt;P&gt;Otherwise,&amp;nbsp;Sorry, having trouble following, can you post sample data as text and expected output?&lt;BR /&gt;Not really enough information to go on, please first check if your issue is a common issue listed here: &lt;A href="https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also, please see this post regarding How to Get Your Question Answered Quickly: &lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The most important parts are:&lt;BR /&gt;1. Sample data as text, use the table tool in the editing bar&lt;BR /&gt;2. Expected output from sample data&lt;BR /&gt;3. Explanation in words of how to get from 1. to 2.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 18:57:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/a-single-filter-for-two-columns/m-p/3831713#M149821</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2024-04-11T18:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: a single filter for two columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/a-single-filter-for-two-columns/m-p/3831891#M149825</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;, attached a sample data. "assigned to" and "assigned by" have common people. for example john doe has both tickets assigned by and to him.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and this output i'm looking for, when i filter by the name of john doe.&amp;nbsp;&lt;BR /&gt;&lt;img /&gt;&lt;BR /&gt;&lt;BR /&gt;The report is in tabular form. I want to add a single filter that filters out data from two columns.&amp;nbsp;the filter should act on both the columns instead of one.&lt;BR /&gt;&lt;BR /&gt;i created a new table in which i combined columns 2 &amp;amp; 3 as a new column "Asignee/Owner" and tried to filter from this column but i couldn't establish a relationship between these tables as there are null values in the columns i want to filter from&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;please do let me know if it's clear now&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 20:25:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/a-single-filter-for-two-columns/m-p/3831891#M149825</guid>
      <dc:creator>sajit</dc:creator>
      <dc:date>2024-04-11T20:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: a single filter for two columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/a-single-filter-for-two-columns/m-p/3831899#M149826</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="722193" data-lia-user-login="sajit" class="lia-mention lia-mention-user"&gt;sajit&lt;/a&gt;&amp;nbsp;Can you post the sample data as text?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 20:35:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/a-single-filter-for-two-columns/m-p/3831899#M149826</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2024-04-11T20:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: a single filter for two columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/a-single-filter-for-two-columns/m-p/3831981#M149831</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;, sure. here you go:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Ticket ID&lt;/TD&gt;&lt;TD&gt;Assigned to&lt;/TD&gt;&lt;TD&gt;Assigned by&lt;/TD&gt;&lt;TD&gt;Assigned Group&lt;/TD&gt;&lt;TD&gt;Product Categorization Tier 1&lt;/TD&gt;&lt;TD&gt;Product Categorization Tier 2&lt;/TD&gt;&lt;TD&gt;Submit Date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;22987&lt;/TD&gt;&lt;TD&gt;Scott Stallone&lt;/TD&gt;&lt;TD&gt;John Doe&lt;/TD&gt;&lt;TD&gt;Networks&lt;/TD&gt;&lt;TD&gt;Internal&lt;/TD&gt;&lt;TD&gt;Research&lt;/TD&gt;&lt;TD&gt;8/7/2023 19:53&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;22988&lt;/TD&gt;&lt;TD&gt;Colin Barnes&lt;/TD&gt;&lt;TD&gt;Jacob Frey&lt;/TD&gt;&lt;TD&gt;IT&lt;/TD&gt;&lt;TD&gt;Internal&lt;/TD&gt;&lt;TD&gt;Research&lt;/TD&gt;&lt;TD&gt;7/18/2023 21:39&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;22989&lt;/TD&gt;&lt;TD&gt;John Doe&lt;/TD&gt;&lt;TD&gt;Alex David&lt;/TD&gt;&lt;TD&gt;IT&lt;/TD&gt;&lt;TD&gt;Client&lt;/TD&gt;&lt;TD&gt;Research&lt;/TD&gt;&lt;TD&gt;5/10/2023 1:46&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;22990&lt;/TD&gt;&lt;TD&gt;John Doe&lt;/TD&gt;&lt;TD&gt;AB Willis&lt;/TD&gt;&lt;TD&gt;Systems&lt;/TD&gt;&lt;TD&gt;Internal&lt;/TD&gt;&lt;TD&gt;Research&lt;/TD&gt;&lt;TD&gt;1/13/2023 7:33&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;22991&lt;/TD&gt;&lt;TD&gt;John Doe&lt;/TD&gt;&lt;TD&gt;Michael Johnson&lt;/TD&gt;&lt;TD&gt;Networks&lt;/TD&gt;&lt;TD&gt;Internal&lt;/TD&gt;&lt;TD&gt;Research&lt;/TD&gt;&lt;TD&gt;8/17/2022 8:35&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;22992&lt;/TD&gt;&lt;TD&gt;Amy Stiller&lt;/TD&gt;&lt;TD&gt;Yu Cheung&lt;/TD&gt;&lt;TD&gt;Cloud&lt;/TD&gt;&lt;TD&gt;Client&lt;/TD&gt;&lt;TD&gt;Research&lt;/TD&gt;&lt;TD&gt;9/21/2023 20:08&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;22993&lt;/TD&gt;&lt;TD&gt;David Warner&lt;/TD&gt;&lt;TD&gt;Amy Stiller&lt;/TD&gt;&lt;TD&gt;DC&lt;/TD&gt;&lt;TD&gt;Internal&lt;/TD&gt;&lt;TD&gt;Logistics&lt;/TD&gt;&lt;TD&gt;7/12/2023 18:34&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;22994&lt;/TD&gt;&lt;TD&gt;James Anderson&lt;/TD&gt;&lt;TD&gt;John Doe&lt;/TD&gt;&lt;TD&gt;DC&lt;/TD&gt;&lt;TD&gt;Internal&lt;/TD&gt;&lt;TD&gt;Market&lt;/TD&gt;&lt;TD&gt;5/8/2023 15:45&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;22995&lt;/TD&gt;&lt;TD&gt;Colin Barnes&lt;/TD&gt;&lt;TD&gt;John Doe&lt;/TD&gt;&lt;TD&gt;Networks&lt;/TD&gt;&lt;TD&gt;Internal&lt;/TD&gt;&lt;TD&gt;Market&lt;/TD&gt;&lt;TD&gt;5/8/2023 15:28&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;22996&lt;/TD&gt;&lt;TD&gt;Jacob Frey&lt;/TD&gt;&lt;TD&gt;Alex David&lt;/TD&gt;&lt;TD&gt;Systems&lt;/TD&gt;&lt;TD&gt;Client&lt;/TD&gt;&lt;TD&gt;Market&lt;/TD&gt;&lt;TD&gt;4/11/2023 19:54&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;22997&lt;/TD&gt;&lt;TD&gt;Patrick Smith&lt;/TD&gt;&lt;TD&gt;Patrick Smith&lt;/TD&gt;&lt;TD&gt;Analytics&lt;/TD&gt;&lt;TD&gt;Internal&lt;/TD&gt;&lt;TD&gt;Logistics&lt;/TD&gt;&lt;TD&gt;3/29/2023 12:44&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Thu, 11 Apr 2024 21:31:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/a-single-filter-for-two-columns/m-p/3831981#M149831</guid>
      <dc:creator>sajit</dc:creator>
      <dc:date>2024-04-11T21:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: a single filter for two columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/a-single-filter-for-two-columns/m-p/3832003#M149833</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="722193" data-lia-user-login="sajit" class="lia-mention lia-mention-user"&gt;sajit&lt;/a&gt;&amp;nbsp;Thanks for the data, see attached PBIX file which basically implements the complex selector I posted originally.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 22:06:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/a-single-filter-for-two-columns/m-p/3832003#M149833</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2024-04-11T22:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: a single filter for two columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/a-single-filter-for-two-columns/m-p/3832074#M149835</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 23:19:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/a-single-filter-for-two-columns/m-p/3832074#M149835</guid>
      <dc:creator>sajit</dc:creator>
      <dc:date>2024-04-11T23:19:29Z</dc:date>
    </item>
  </channel>
</rss>

