<?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: I need a slicer to change all records in the table to 0 in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-need-a-slicer-to-change-all-records-in-the-table-to-0/m-p/2572600#M73535</link>
    <description>&lt;P&gt;Right,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I was thinking to change data science queries to add another column and process the table in the aas model then use it in the pbix file.&lt;BR /&gt;&lt;BR /&gt;I don't know it's good or bad now ? because business doesn't need this slicer for now&lt;/P&gt;&lt;P&gt;so, it's been hold off&lt;BR /&gt;&lt;BR /&gt;thank you for advice.&lt;/P&gt;</description>
    <pubDate>Fri, 10 Jun 2022 22:30:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-06-10T22:30:41Z</dc:date>
    <item>
      <title>I need a slicer to change all records in the table to 0</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-need-a-slicer-to-change-all-records-in-the-table-to-0/m-p/2550547#M72157</link>
      <description>&lt;P&gt;Hello everyone,&lt;BR /&gt;&lt;BR /&gt;Suppose I have a table and table has 7 measures, and each measures brings records, null or zero&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's being refreshed everyday.&lt;BR /&gt;&lt;BR /&gt;What I need to do is to create a slicer and with one function :&lt;BR /&gt;&lt;BR /&gt;when I say turn on activity It will show all the records&amp;nbsp;&lt;/P&gt;&lt;P&gt;from the database as is (default)&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;When I say turn off activity It will show for the first 5 measures all 0 and rest of the 2 measures stay with records.&lt;/P&gt;&lt;P&gt;so, it's going to effect first 5 measures&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;any ideas ?&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2022 14:14:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-need-a-slicer-to-change-all-records-in-the-table-to-0/m-p/2550547#M72157</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-31T14:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: I need a slicer to change all records in the table to 0</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-need-a-slicer-to-change-all-records-in-the-table-to-0/m-p/2551678#M72220</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , you can use isfiltered &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if(isfiltered(Table[Column]), [Measure1], 0)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;same way for other measures&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if(isfiltered(Table[Column]), [Measure2], 0)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/" target="_blank"&gt;https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it can be based on the value&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if(selectedvalue(Table[Column]) &amp;lt;&amp;gt; "Hide", [Measure2], 0)&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2022 02:40:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-need-a-slicer-to-change-all-records-in-the-table-to-0/m-p/2551678#M72220</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-06-01T02:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: I need a slicer to change all records in the table to 0</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-need-a-slicer-to-change-all-records-in-the-table-to-0/m-p/2559699#M72781</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you for the response,&lt;BR /&gt;&lt;BR /&gt;Correct I get a new column depending on [measure1] and all values are zero.&amp;nbsp;&lt;BR /&gt;but,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need a slicer (AAS model only allow me to create a measure not a calculated column)&amp;nbsp;&lt;BR /&gt;to suppose we have a column with values&lt;/P&gt;&lt;P&gt;column: measure1&lt;BR /&gt;1st row : 16&lt;BR /&gt;2nd row: 18&lt;BR /&gt;3rd row:&amp;nbsp; 7&lt;BR /&gt;4th row: 3&lt;BR /&gt;so on...&lt;BR /&gt;and&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I want to see&amp;nbsp;&lt;BR /&gt;all zeros on "that" column&lt;BR /&gt;0&lt;BR /&gt;0&lt;BR /&gt;...all&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;is there any way to do it ?&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jun 2022 19:51:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-need-a-slicer-to-change-all-records-in-the-table-to-0/m-p/2559699#M72781</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-06-05T19:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: I need a slicer to change all records in the table to 0</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-need-a-slicer-to-change-all-records-in-the-table-to-0/m-p/2568077#M73233</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I'm afraid I don't have a suitable way to implement your requirements. The data source you are connecting to is AAS and is in &lt;A href="https://radacad.com/live-connection-when-power-bi-comes-hybrid" target="_self"&gt;live connection&lt;/A&gt; mode, which can only create report level measure, not calculated tables, calculated columns, etc. Then there is no appropriate column to apply to the slicer since you can't create calculated columns or calculated tables...&lt;BR /&gt;If the connection mode of the report is &lt;A href="https://docs.microsoft.com/en-us/power-bi/connect-data/service-dataset-modes-understand#import-mode" target="_self"&gt;Import&lt;/A&gt;, you can refer to &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;'s approach and modify the first 5 measures.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure1= IF(SELECTEDVALUE(Table[Column]) &amp;lt;&amp;gt; "Hide", SUM([colname]), 0)&lt;/LI-CODE&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 06:01:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-need-a-slicer-to-change-all-records-in-the-table-to-0/m-p/2568077#M73233</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-06-09T06:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: I need a slicer to change all records in the table to 0</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-need-a-slicer-to-change-all-records-in-the-table-to-0/m-p/2572600#M73535</link>
      <description>&lt;P&gt;Right,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I was thinking to change data science queries to add another column and process the table in the aas model then use it in the pbix file.&lt;BR /&gt;&lt;BR /&gt;I don't know it's good or bad now ? because business doesn't need this slicer for now&lt;/P&gt;&lt;P&gt;so, it's been hold off&lt;BR /&gt;&lt;BR /&gt;thank you for advice.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 22:30:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-need-a-slicer-to-change-all-records-in-the-table-to-0/m-p/2572600#M73535</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-06-10T22:30:41Z</dc:date>
    </item>
  </channel>
</rss>

