<?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: Bar graphs in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Bar-graphs/m-p/4072413#M54467</link>
    <description>&lt;P&gt;Hi&amp;nbsp; &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/418607"&gt;@Gflood&lt;/a&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-1722477828513.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1142620iCD9EC352C70CA1FA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vyangliumsft_0-1722477828513.png" alt="vyangliumsft_0-1722477828513.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;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Table 2 =
DISTINCT('Table'[Date])&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Create measure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Flag =
var _select=
SELECTCOLUMNS('Table 2',"selectdate",'Table 2'[Date])
var _column1=
ADDCOLUMNS( _select,"mindate",MINX(FILTER(ALL('Table'),'Table'[Weeknum]=WEEKNUM(EARLIER([selectdate]),2)-1&amp;amp;&amp;amp;'Table'[Weekday]=WEEKDAY(EARLIER([selectdate]),2)),[Date]),
"maxdate",MINX(FILTER(ALL('Table'),'Table'[Weeknum]=WEEKNUM(EARLIER([selectdate]),2)+1&amp;amp;&amp;amp;'Table'[Weekday]=WEEKDAY(EARLIER([selectdate]),2)),[Date]))
return
IF(
    MAX('Table'[Date]) in _select   ||
    MAX('Table'[Date]) in SELECTCOLUMNS(_column1,"mindate",[mindate]) ||
    MAX('Table'[Date]) in SELECTCOLUMNS(_column1,"maxdate",[maxdate]),1,0)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;3. Place [Flag]in Filters, set is=1, apply filter.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vyangliumsft_1-1722477884789.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1142621i36E9681E15D4834E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vyangliumsft_1-1722477884789.png" alt="vyangliumsft_1-1722477884789.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;4. Result:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vyangliumsft_2-1722477884795.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1142622i7BD96A1491F48075/image-size/large?v=v2&amp;amp;px=999" role="button" title="vyangliumsft_2-1722477884795.png" alt="vyangliumsft_2-1722477884795.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Aug 2024 02:05:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-08-01T02:05:31Z</dc:date>
    <item>
      <title>Bar graphs</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Bar-graphs/m-p/4071887#M54463</link>
      <description>&lt;P&gt;I am looking to basically combine two bar graphs. I want to show the diference before and after a major change. This involves comparing data by day. So I want to show the difference between the same days of the week from two different weeks side by side in a bar graph. When I add multiple dates that are the same day of the week, the data is just compbined. Is there a way to get them to show side by side?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 16:54:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Bar-graphs/m-p/4071887#M54463</guid>
      <dc:creator>Gflood</dc:creator>
      <dc:date>2024-07-31T16:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: Bar graphs</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Bar-graphs/m-p/4072413#M54467</link>
      <description>&lt;P&gt;Hi&amp;nbsp; &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/418607"&gt;@Gflood&lt;/a&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-1722477828513.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1142620iCD9EC352C70CA1FA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vyangliumsft_0-1722477828513.png" alt="vyangliumsft_0-1722477828513.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;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Table 2 =
DISTINCT('Table'[Date])&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Create measure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Flag =
var _select=
SELECTCOLUMNS('Table 2',"selectdate",'Table 2'[Date])
var _column1=
ADDCOLUMNS( _select,"mindate",MINX(FILTER(ALL('Table'),'Table'[Weeknum]=WEEKNUM(EARLIER([selectdate]),2)-1&amp;amp;&amp;amp;'Table'[Weekday]=WEEKDAY(EARLIER([selectdate]),2)),[Date]),
"maxdate",MINX(FILTER(ALL('Table'),'Table'[Weeknum]=WEEKNUM(EARLIER([selectdate]),2)+1&amp;amp;&amp;amp;'Table'[Weekday]=WEEKDAY(EARLIER([selectdate]),2)),[Date]))
return
IF(
    MAX('Table'[Date]) in _select   ||
    MAX('Table'[Date]) in SELECTCOLUMNS(_column1,"mindate",[mindate]) ||
    MAX('Table'[Date]) in SELECTCOLUMNS(_column1,"maxdate",[maxdate]),1,0)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;3. Place [Flag]in Filters, set is=1, apply filter.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vyangliumsft_1-1722477884789.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1142621i36E9681E15D4834E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vyangliumsft_1-1722477884789.png" alt="vyangliumsft_1-1722477884789.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;4. Result:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vyangliumsft_2-1722477884795.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1142622i7BD96A1491F48075/image-size/large?v=v2&amp;amp;px=999" role="button" title="vyangliumsft_2-1722477884795.png" alt="vyangliumsft_2-1722477884795.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2024 02:05:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Bar-graphs/m-p/4072413#M54467</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-08-01T02:05:31Z</dc:date>
    </item>
  </channel>
</rss>

