<?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 Change value in table based on slicer which has two fields in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Change-value-in-table-based-on-slicer-which-has-two-fields/m-p/3142768#M112274</link>
    <description>&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the table where i have some sort of transit time condition status, which has 4 consecutive columns contains region, mode, gross status and net status.(where i have 20K+ line items)&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Date&lt;/TD&gt;&lt;TD&gt;Region&lt;/TD&gt;&lt;TD&gt;Mode&lt;/TD&gt;&lt;TD&gt;Gross status&lt;/TD&gt;&lt;TD&gt;Net status&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;11/03/2022&lt;/TD&gt;&lt;TD&gt;USA&lt;/TD&gt;&lt;TD&gt;Air&lt;/TD&gt;&lt;TD&gt;Met&lt;/TD&gt;&lt;TD&gt;Not Met&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;17/03/2022&lt;/TD&gt;&lt;TD&gt;Canada&lt;/TD&gt;&lt;TD&gt;Air&lt;/TD&gt;&lt;TD&gt;Met&lt;/TD&gt;&lt;TD&gt;Not Met&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;15/04/2022&lt;/TD&gt;&lt;TD&gt;Canada&lt;/TD&gt;&lt;TD&gt;Ocean&lt;/TD&gt;&lt;TD&gt;Not Met&lt;/TD&gt;&lt;TD&gt;Met&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;27/04/2022&lt;/TD&gt;&lt;TD&gt;EU&lt;/TD&gt;&lt;TD&gt;Ocean&lt;/TD&gt;&lt;TD&gt;Not Met&lt;/TD&gt;&lt;TD&gt;Not Met&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;06/05/2022&lt;/TD&gt;&lt;TD&gt;Chicago&lt;/TD&gt;&lt;TD&gt;Air&lt;/TD&gt;&lt;TD&gt;Met&lt;/TD&gt;&lt;TD&gt;Met&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to create a table in powerBI where it has to show the status based on two slicers, where i need to include category as one slicer and statuses as one slicer.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;so what i expect my output to look like is attached as reference,&lt;/P&gt;&lt;P&gt;which both the category and percentage has to be changed based on the slicer i choose,&lt;/P&gt;&lt;P&gt;percentage is nothing but the met status of the shipment on how much the month has achieved the performance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Mar 2023 15:15:48 GMT</pubDate>
    <dc:creator>PoojaS5</dc:creator>
    <dc:date>2023-03-20T15:15:48Z</dc:date>
    <item>
      <title>Change value in table based on slicer which has two fields</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Change-value-in-table-based-on-slicer-which-has-two-fields/m-p/3142768#M112274</link>
      <description>&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the table where i have some sort of transit time condition status, which has 4 consecutive columns contains region, mode, gross status and net status.(where i have 20K+ line items)&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Date&lt;/TD&gt;&lt;TD&gt;Region&lt;/TD&gt;&lt;TD&gt;Mode&lt;/TD&gt;&lt;TD&gt;Gross status&lt;/TD&gt;&lt;TD&gt;Net status&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;11/03/2022&lt;/TD&gt;&lt;TD&gt;USA&lt;/TD&gt;&lt;TD&gt;Air&lt;/TD&gt;&lt;TD&gt;Met&lt;/TD&gt;&lt;TD&gt;Not Met&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;17/03/2022&lt;/TD&gt;&lt;TD&gt;Canada&lt;/TD&gt;&lt;TD&gt;Air&lt;/TD&gt;&lt;TD&gt;Met&lt;/TD&gt;&lt;TD&gt;Not Met&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;15/04/2022&lt;/TD&gt;&lt;TD&gt;Canada&lt;/TD&gt;&lt;TD&gt;Ocean&lt;/TD&gt;&lt;TD&gt;Not Met&lt;/TD&gt;&lt;TD&gt;Met&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;27/04/2022&lt;/TD&gt;&lt;TD&gt;EU&lt;/TD&gt;&lt;TD&gt;Ocean&lt;/TD&gt;&lt;TD&gt;Not Met&lt;/TD&gt;&lt;TD&gt;Not Met&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;06/05/2022&lt;/TD&gt;&lt;TD&gt;Chicago&lt;/TD&gt;&lt;TD&gt;Air&lt;/TD&gt;&lt;TD&gt;Met&lt;/TD&gt;&lt;TD&gt;Met&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to create a table in powerBI where it has to show the status based on two slicers, where i need to include category as one slicer and statuses as one slicer.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;so what i expect my output to look like is attached as reference,&lt;/P&gt;&lt;P&gt;which both the category and percentage has to be changed based on the slicer i choose,&lt;/P&gt;&lt;P&gt;percentage is nothing but the met status of the shipment on how much the month has achieved the performance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 15:15:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Change-value-in-table-based-on-slicer-which-has-two-fields/m-p/3142768#M112274</guid>
      <dc:creator>PoojaS5</dc:creator>
      <dc:date>2023-03-20T15:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: Change value in table based on slicer which has two fields</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Change-value-in-table-based-on-slicer-which-has-two-fields/m-p/3143783#M112373</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="532852" data-lia-user-login="PoojaS5" class="lia-mention lia-mention-user"&gt;PoojaS5&lt;/a&gt; , better to unpivot columns Gross status, and Net status in the power query &lt;/P&gt;
&lt;P&gt;Unpivot Data(Power Query): &lt;A href="https://youtu.be/2HjkBtxSM0g" target="_blank"&gt;https://youtu.be/2HjkBtxSM0g&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then you can have a measure&lt;/P&gt;
&lt;P&gt;divide(countrows(filter(Table, table[Status]= "Met") ), countrows(Table) )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 03:31:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Change-value-in-table-based-on-slicer-which-has-two-fields/m-p/3143783#M112373</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2023-03-21T03:31:30Z</dc:date>
    </item>
  </channel>
</rss>

