<?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 No scrollbar at the x-axis in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/No-scrollbar-at-the-x-axis/m-p/4335187#M172131</link>
    <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've got the following X-axis (no scrollbar), but when I choose EOMONTH, the datapoints don't represent the actual graph.&lt;/P&gt;&lt;P&gt;Is it possible to create a line-chart visual without a scrollbar, but with actual weeks, like 2020-18 - 2020-19 etc. etc.&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;&lt;P&gt;The format of the week is text and 2020-18 / 2020-19. When I try to make this number/date, for example 202018; between 202052 and 202101 there is a lot "white"space;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In excel you can take the labels and there it is. Here, in PBI I find this very hard. Can someone help me? Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Dec 2024 13:49:34 GMT</pubDate>
    <dc:creator>hansreivers</dc:creator>
    <dc:date>2024-12-18T13:49:34Z</dc:date>
    <item>
      <title>No scrollbar at the x-axis</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/No-scrollbar-at-the-x-axis/m-p/4335187#M172131</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've got the following X-axis (no scrollbar), but when I choose EOMONTH, the datapoints don't represent the actual graph.&lt;/P&gt;&lt;P&gt;Is it possible to create a line-chart visual without a scrollbar, but with actual weeks, like 2020-18 - 2020-19 etc. etc.&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;&lt;P&gt;The format of the week is text and 2020-18 / 2020-19. When I try to make this number/date, for example 202018; between 202052 and 202101 there is a lot "white"space;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In excel you can take the labels and there it is. Here, in PBI I find this very hard. Can someone help me? Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 13:49:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/No-scrollbar-at-the-x-axis/m-p/4335187#M172131</guid>
      <dc:creator>hansreivers</dc:creator>
      <dc:date>2024-12-18T13:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: No scrollbar at the x-axis</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/No-scrollbar-at-the-x-axis/m-p/4335207#M172134</link>
      <description>&lt;P&gt;In order to view this by weeks in the format you wish, you'll need to create a date table - best way to do this is using Power Query.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are lots of blogs out there with code that'll get you started on creating a date table, this is one of the best:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blog.enterprisedna.co/introducing-power-query-extended-date-table-v2/" target="_blank"&gt;https://blog.enterprisedna.co/introducing-power-query-extended-date-table-v2/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might find it already has the week in the format you want.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this helps, please accept as the solution to assist others with the same challenge.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 13:59:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/No-scrollbar-at-the-x-axis/m-p/4335207#M172134</guid>
      <dc:creator>mark_endicott</dc:creator>
      <dc:date>2024-12-18T13:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: No scrollbar at the x-axis</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/No-scrollbar-at-the-x-axis/m-p/4338431#M172260</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="637705" data-lia-user-login="hansreivers" class="lia-mention lia-mention-user"&gt;hansreivers&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As far as I know, if you choose Categorical as X-axis Type, it will show all data in this column.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;I'd recommend choosing the X-axis Type as Continuous so that you don't get a scrollbar.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;You can hover your mouse on this visual and it will show detail week numbers.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Or you can choose show as table to see details.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&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;BR /&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution 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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2024 09:55:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/No-scrollbar-at-the-x-axis/m-p/4338431#M172260</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-12-20T09:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: No scrollbar at the x-axis</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/No-scrollbar-at-the-x-axis/m-p/4340722#M172363</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="637705" data-lia-user-login="hansreivers" class="lia-mention lia-mention-user"&gt;hansreivers&lt;/a&gt;&amp;nbsp;- did we resolve your issue? If we did, please select the appropriate solution, it helps with visibility for others and for SuperUsers to keep their status! Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2024 10:51:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/No-scrollbar-at-the-x-axis/m-p/4340722#M172363</guid>
      <dc:creator>mark_endicott</dc:creator>
      <dc:date>2024-12-23T10:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: No scrollbar at the x-axis</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/No-scrollbar-at-the-x-axis/m-p/4340866#M172375</link>
      <description>&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for the delay, but unfortunately not. I'm still trying. I maybe have to create an end of week date, but I can't get it right.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2024 13:41:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/No-scrollbar-at-the-x-axis/m-p/4340866#M172375</guid>
      <dc:creator>hansreivers</dc:creator>
      <dc:date>2024-12-23T13:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: No scrollbar at the x-axis</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/No-scrollbar-at-the-x-axis/m-p/4340955#M172381</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="637705" data-lia-user-login="hansreivers" class="lia-mention lia-mention-user"&gt;hansreivers&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;There is not much you can do if you want a continuous yy-ww format in your x-axis than to resize the chart (if possible).&lt;BR /&gt;Power bi will try to show all the data available at the&amp;nbsp;field selected for the x-axis and therefore the need of a horizontal scroll bar.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If a Text field is used in the x-axis the scroll will appear to guaranty that all that categorical data is shown in the x-axis. If you still need the x-axis with categorical data,&amp;nbsp;&lt;SPAN&gt;there is no way to avoid the horizontal scroll, except to resize the visual object -if possible-. The same thig will happen to a year/week hierarchy (even though the fields year and week were formatted as numbers).&lt;/SPAN&gt;&lt;BR /&gt;If you want to format yyyyww as a number and use it in a continuos x-axis to avoid the scroll then you won´t get values after week 52/53 (some years can have 53 weeks), and therefore that "white space"&amp;nbsp;(from week 52 until 1st week of next year) in the line chart.&lt;BR /&gt;Hope this make more clear the situation.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2024 15:53:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/No-scrollbar-at-the-x-axis/m-p/4340955#M172381</guid>
      <dc:creator>pcoley</dc:creator>
      <dc:date>2024-12-23T15:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: No scrollbar at the x-axis</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/No-scrollbar-at-the-x-axis/m-p/4342139#M172425</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="637705" data-lia-user-login="hansreivers" class="lia-mention lia-mention-user"&gt;hansreivers&lt;/a&gt;&amp;nbsp;- I spoke earlier of creating a date table using Power Query, did you check the link I posted for you?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once you have done that, there is a specific M Code function that will create the end of week date, you can add this into the code I have linked you to:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/powerquery-m/date-endofweek" target="_blank"&gt;https://learn.microsoft.com/en-us/powerquery-m/date-endofweek&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are trying to handle this in DAX it will be much harder. Use Power Query to create date tables always.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this helps, please accept as the solution.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2024 12:59:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/No-scrollbar-at-the-x-axis/m-p/4342139#M172425</guid>
      <dc:creator>mark_endicott</dc:creator>
      <dc:date>2024-12-24T12:59:56Z</dc:date>
    </item>
  </channel>
</rss>

