<?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: Show up/Hide  data depending on Specific date in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Show-up-Hide-data-depending-on-Specific-date/m-p/3882910#M52100</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&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;</description>
    <pubDate>Wed, 01 May 2024 14:23:26 GMT</pubDate>
    <dc:creator>Greg_Deckler</dc:creator>
    <dc:date>2024-05-01T14:23:26Z</dc:date>
    <item>
      <title>Show up/Hide  data depending on Specific date</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Show-up-Hide-data-depending-on-Specific-date/m-p/3882886#M52099</link>
      <description>&lt;P&gt;Hi, Would be nice to get any help on this requirement. I have a Term ,Company and a Date slicer in report and say the report contains graphs, tables, slicers etc. Recently a company is dropped which means from 01.04.24 that company data should not show up in report (Even if data flows from source) but at the same time the option in the slicer, and counts on visuals must include this data until 01.04.2024, so if user selects previous dates he must be able to see the data for that dropped company but ‘On or After’ 01.04.2024 even if the data is coming from the source, user should not be able to see this option in slicers/graphs/tables in all pages.&lt;BR /&gt;&lt;BR /&gt;Any help is appreciated. Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2024 14:16:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Show-up-Hide-data-depending-on-Specific-date/m-p/3882886#M52099</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-05-01T14:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Show up/Hide  data depending on Specific date</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Show-up-Hide-data-depending-on-Specific-date/m-p/3882910#M52100</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&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;</description>
      <pubDate>Wed, 01 May 2024 14:23:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Show-up-Hide-data-depending-on-Specific-date/m-p/3882910#M52100</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2024-05-01T14:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: Show up/Hide  data depending on Specific date</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Show-up-Hide-data-depending-on-Specific-date/m-p/3884452#M52110</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;, thanks for your concern about this case. I tried to create a sample data myself based on the user's requirement and implemented the result. Please check if there is anything that can be improved. Here is my solution:&lt;/P&gt;
&lt;P&gt;Hi&amp;nbsp; Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I created some data:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are the steps you can follow：&lt;/P&gt;
&lt;P&gt;1. Create calculated table.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Date =

CALENDAR(
    DATE(2024,1,1),DATE(2024,12,31))&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;2. Enter data – create a table.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;3. Create measure.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Flag =
var _selectdate=SELECTEDVALUE('Date'[Date])
var _selectgroup=SELECTEDVALUE('Slicer_Table'[Slicer])
return
SWITCH(
    TRUE(),
    _selectgroup="before" &amp;amp;&amp;amp; MAX('Table'[Enddate])&amp;lt;=_selectdate,1,
    _selectgroup="after" &amp;amp;&amp;amp; MAX('Table'[Enddate])&amp;gt;_selectdate,1,0)&lt;/LI-CODE&gt;
&lt;P&gt;4. Place [Flag]in Filters, set is=1, apply filter.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;5. Result:&lt;/P&gt;
&lt;P&gt;Select before:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Select after:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Liu Yang&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;Accept it as the solution&lt;/EM&gt; to help the other members find it more quickly&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2024 02:48:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Show-up-Hide-data-depending-on-Specific-date/m-p/3884452#M52110</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-05-02T02:48:05Z</dc:date>
    </item>
  </channel>
</rss>

