<?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: Powerbivisual in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Powerbivisual/m-p/3624775#M48199</link>
    <description>&lt;P&gt;Hi&amp;nbsp; &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/669272"&gt;@Millar&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I created some data:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vyangliumsft_0-1704781209578.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1022170i6058D5CB3F491137/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vyangliumsft_0-1704781209578.png" alt="vyangliumsft_0-1704781209578.png" /&gt;&lt;/span&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;Table 2 =
DISTINCT('Table'[Date])
&lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vyangliumsft_1-1704781209579.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1022171i8CA4C1A70455854D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vyangliumsft_1-1704781209579.png" alt="vyangliumsft_1-1704781209579.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2. Create measure.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Flag =
var _mindate=
MINX(ALLSELECTED('Table 2'),'Table 2'[Date])
var _maxdate=
MAXX(ALLSELECTED('Table 2'),'Table 2'[Date])
return
IF(
    ISFILTERED('Table 2'[Date])=FALSE()&amp;amp;&amp;amp;MAX('Table'[Date]) &amp;gt;=DATE(2023,2,1)&amp;amp;&amp;amp;MAX('Table'[Date])&amp;lt;=TODAY(),1,
    IF(
    ISFILTERED('Table 2'[Date])=TRUE()&amp;amp;&amp;amp;MAX('Table'[Date]) &amp;gt;=_mindate&amp;amp;&amp;amp;MAX('Table'[Date])&amp;lt;=_maxdate,1,0))&lt;/LI-CODE&gt;
&lt;P&gt;3.&amp;nbsp;Place [Flag]in Filters, set is=1, apply filter.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vyangliumsft_2-1704781257135.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1022173iF0546652A75BA3FA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vyangliumsft_2-1704781257135.png" alt="vyangliumsft_2-1704781257135.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;4. Result:&lt;/P&gt;
&lt;P&gt;Slicer has no selected value&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vyangliumsft_3-1704781268868.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1022175iE042D30622F2EAFC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vyangliumsft_3-1704781268868.png" alt="vyangliumsft_3-1704781268868.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Slicer selected value&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vyangliumsft_4-1704781268870.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1022174i57BE14406DEAAFAC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vyangliumsft_4-1704781268870.png" alt="vyangliumsft_4-1704781268870.png" /&gt;&lt;/span&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jan 2024 06:21:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-01-09T06:21:31Z</dc:date>
    <item>
      <title>Powerbivisual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Powerbivisual/m-p/3622782#M48082</link>
      <description>&lt;P&gt;Need to create a date filter by using slicer which contain start date and end date&lt;BR /&gt;when ever report gets loaded its should show default values form&lt;BR /&gt;start date should be :01-Feb-2023&lt;BR /&gt;end date should be: Today's day ( dynamically)&lt;/P&gt;&lt;P&gt;also when ever user want to change the same start data and end date those option also need to enable in slicer.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 12:44:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Powerbivisual/m-p/3622782#M48082</guid>
      <dc:creator>Millar</dc:creator>
      <dc:date>2024-01-08T12:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Powerbivisual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Powerbivisual/m-p/3624775#M48199</link>
      <description>&lt;P&gt;Hi&amp;nbsp; &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/669272"&gt;@Millar&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I created some data:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vyangliumsft_0-1704781209578.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1022170i6058D5CB3F491137/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vyangliumsft_0-1704781209578.png" alt="vyangliumsft_0-1704781209578.png" /&gt;&lt;/span&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;Table 2 =
DISTINCT('Table'[Date])
&lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vyangliumsft_1-1704781209579.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1022171i8CA4C1A70455854D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vyangliumsft_1-1704781209579.png" alt="vyangliumsft_1-1704781209579.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2. Create measure.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Flag =
var _mindate=
MINX(ALLSELECTED('Table 2'),'Table 2'[Date])
var _maxdate=
MAXX(ALLSELECTED('Table 2'),'Table 2'[Date])
return
IF(
    ISFILTERED('Table 2'[Date])=FALSE()&amp;amp;&amp;amp;MAX('Table'[Date]) &amp;gt;=DATE(2023,2,1)&amp;amp;&amp;amp;MAX('Table'[Date])&amp;lt;=TODAY(),1,
    IF(
    ISFILTERED('Table 2'[Date])=TRUE()&amp;amp;&amp;amp;MAX('Table'[Date]) &amp;gt;=_mindate&amp;amp;&amp;amp;MAX('Table'[Date])&amp;lt;=_maxdate,1,0))&lt;/LI-CODE&gt;
&lt;P&gt;3.&amp;nbsp;Place [Flag]in Filters, set is=1, apply filter.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vyangliumsft_2-1704781257135.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1022173iF0546652A75BA3FA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vyangliumsft_2-1704781257135.png" alt="vyangliumsft_2-1704781257135.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;4. Result:&lt;/P&gt;
&lt;P&gt;Slicer has no selected value&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vyangliumsft_3-1704781268868.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1022175iE042D30622F2EAFC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vyangliumsft_3-1704781268868.png" alt="vyangliumsft_3-1704781268868.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Slicer selected value&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vyangliumsft_4-1704781268870.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1022174i57BE14406DEAAFAC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vyangliumsft_4-1704781268870.png" alt="vyangliumsft_4-1704781268870.png" /&gt;&lt;/span&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2024 06:21:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Powerbivisual/m-p/3624775#M48199</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-01-09T06:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: Powerbivisual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Powerbivisual/m-p/3633850#M48709</link>
      <description>&lt;P&gt;New column created under table level&lt;/P&gt;&lt;P&gt;Period = if('DMADP OPEM_ADP_DATE_D'[Date]&amp;gt;EOMONTH(TODAY(),-12)&amp;amp;&amp;amp;'DMADP OPEM_ADP_DATE_D'[Date]&amp;lt;=TODAY(),1,0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And placed under page filter level set values as 1&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 16:44:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Powerbivisual/m-p/3633850#M48709</guid>
      <dc:creator>Millar</dc:creator>
      <dc:date>2024-01-11T16:44:00Z</dc:date>
    </item>
  </channel>
</rss>

