<?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: Multiple Lines on One Chart in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Lines-on-One-Chart/m-p/4101610#M162756</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="531109" data-lia-user-login="e175429" class="lia-mention lia-mention-user"&gt;e175429&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm sorry about this. I created a new table, are you doing the same as me? You can click on the link below to see where the error is occurring:&lt;A href="https://www.sqlgene.com/2019/04/30/dax-error-the-expression-refers-to-multiple-columns-multiple-columns-cannot-be-converted-to-a-scalar-value/" target="_blank"&gt;DAX Error: The Expression Refers to Multiple Columns. Multiple Columns Cannot Be Converted to a Scalar Value. - SQLGene Training&lt;/A&gt;&amp;nbsp;and if the problem persists, please give me a detailed description and I will be able to better solve your problem.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Zhu&lt;BR /&gt;Community Support Team&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If there is any post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;to help the other members find it more quickly.&lt;BR /&gt;If I misunderstand your needs or you still have problems on it, please feel free to let us know.&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Thanks a lot!&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Aug 2024 06:24:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-08-15T06:24:59Z</dc:date>
    <item>
      <title>Multiple Lines on One Chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Lines-on-One-Chart/m-p/4098424#M162627</link>
      <description>&lt;P&gt;Hey Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to put 2 lines on one chart from 2 different tables to compare data over 2 years. Seperately, they are:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;When I attempt to put them on one chart I get:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;As you can see, the data points are all wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the data I am using.&lt;/P&gt;&lt;P&gt;&lt;A href="https://houtx-my.sharepoint.com/:x:/g/personal/donya_williamson_houstontx_gov/Eb13h6SnOO5JseMHz2kZPYoBn_zZipkuISx5DcTSl5OVxQ?e=8f8RPr" target="_blank" rel="noopener"&gt;2024.xlsx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;!--  StartFragment   --&gt;&lt;A href="https://houtx-my.sharepoint.com/:x:/g/personal/donya_williamson_houstontx_gov/EUOFPrR5OrlCux9IKTo8gNcBZqorA4ihGThUpbw6SOoHhw?e=a2rKcu" target="_blank" rel="noopener"&gt;2023.xlsx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;What am I doing incorrectly?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 19:03:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Lines-on-One-Chart/m-p/4098424#M162627</guid>
      <dc:creator>e175429</dc:creator>
      <dc:date>2024-08-13T19:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Lines on One Chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Lines-on-One-Chart/m-p/4098449#M162629</link>
      <description>&lt;P&gt;Hello! Line charts are meant to be used for quantitative, ordered values. I might suggest a clustered column chart to tell your story more intuitively.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 19:17:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Lines-on-One-Chart/m-p/4098449#M162629</guid>
      <dc:creator>arava</dc:creator>
      <dc:date>2024-08-13T19:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Lines on One Chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Lines-on-One-Chart/m-p/4098492#M162631</link>
      <description>&lt;P&gt;Hello. So, I actually get the same result using the columns LIKELY from the attached files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2023:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2024:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I put them together:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 19:44:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Lines-on-One-Chart/m-p/4098492#M162631</guid>
      <dc:creator>e175429</dc:creator>
      <dc:date>2024-08-13T19:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Lines on One Chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Lines-on-One-Chart/m-p/4098501#M162634</link>
      <description>&lt;P&gt;The attached files are not publicly available and the suggestion was to change the visual itself, not change the inputs&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 19:49:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Lines-on-One-Chart/m-p/4098501#M162634</guid>
      <dc:creator>arava</dc:creator>
      <dc:date>2024-08-13T19:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Lines on One Chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Lines-on-One-Chart/m-p/4098541#M162643</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="531109" data-lia-user-login="e175429" class="lia-mention lia-mention-user"&gt;e175429&lt;/a&gt;&amp;nbsp;I get this error when trying to download your Excel file:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 20:20:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Lines-on-One-Chart/m-p/4098541#M162643</guid>
      <dc:creator>ahadkarimi</dc:creator>
      <dc:date>2024-08-13T20:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Lines on One Chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Lines-on-One-Chart/m-p/4099093#M162656</link>
      <description>&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 03:50:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Lines-on-One-Chart/m-p/4099093#M162656</guid>
      <dc:creator>e175429</dc:creator>
      <dc:date>2024-08-14T03:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Lines on One Chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Lines-on-One-Chart/m-p/4099098#M162657</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="785426" data-lia-user-login="ahadkarimi" class="lia-mention lia-mention-user"&gt;ahadkarimi&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please try again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2023&lt;/P&gt;&lt;P&gt;&lt;A href="https://1drv.ms/x/s!Aop4ARcj8m8hgQTArIQ07rOUmCyd" target="_blank"&gt;https://1drv.ms/x/s!Aop4ARcj8m8hgQTArIQ07rOUmCyd&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2024&lt;/P&gt;&lt;P&gt;&lt;A href="https://1drv.ms/x/s!Aop4ARcj8m8hgQeMN1GH0X29SBMJ" target="_blank"&gt;https://1drv.ms/x/s!Aop4ARcj8m8hgQeMN1GH0X29SBMJ&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you kindly&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 03:52:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Lines-on-One-Chart/m-p/4099098#M162657</guid>
      <dc:creator>e175429</dc:creator>
      <dc:date>2024-08-14T03:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Lines on One Chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Lines-on-One-Chart/m-p/4099149#M162660</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="531109" data-lia-user-login="e175429" class="lia-mention lia-mention-user"&gt;e175429&lt;/a&gt;, thank you for sharing the files. When I connected the two table IDs in the Model view, it showed the lines perfectly in one chart. Do you not want a relationship between the two tables?&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 04:11:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Lines-on-One-Chart/m-p/4099149#M162660</guid>
      <dc:creator>ahadkarimi</dc:creator>
      <dc:date>2024-08-14T04:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Lines on One Chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Lines-on-One-Chart/m-p/4099196#M162661</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="785426" data-lia-user-login="ahadkarimi" class="lia-mention lia-mention-user"&gt;ahadkarimi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I forgot to mention that I also created the relationship by ID.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem occurs when I go to line chart by columns PLEA from 2023 and 2024, it doesn't come out right (re: the 3 pictures from my first post).&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 04:37:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Lines-on-One-Chart/m-p/4099196#M162661</guid>
      <dc:creator>e175429</dc:creator>
      <dc:date>2024-08-14T04:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Lines on One Chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Lines-on-One-Chart/m-p/4099746#M162692</link>
      <description>&lt;P&gt;Thanks for the reply from&amp;nbsp;arava&amp;nbsp;and&amp;nbsp;ahadkarimi.&lt;BR /&gt;&lt;BR /&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="531109" data-lia-user-login="e175429" class="lia-mention lia-mention-user"&gt;e175429&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;When using the 2024 PLEA field as the x-axis, it seems to appear as you would expect, but on closer comparison, the data is incorrect.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;I will provide an alternative method and here are the steps to do it:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;1.Create a new table, this table contains unique PLEA column values extracted from 2023 and 2024 (Sheet1):&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Newtable =
SUMMARIZE (
    UNION (
        SELECTCOLUMNS ( '2023', "PLEA", '2023'[PLEA] ),
        SELECTCOLUMNS ( '2024(Sheet1)', "PLEA", '2024(Sheet1)'[PLEA] )
    ),
    [PLEA]
)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2.The relationship between the three tables is created as shown below:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3.Using the PLEA of the newly created table as the x-axis, you can get a line graph with the correct data:&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;&lt;SPAN&gt;I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Zhu&lt;BR /&gt;Community Support Team&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If there is any post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 08:56:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Lines-on-One-Chart/m-p/4099746#M162692</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-08-14T08:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Lines on One Chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Lines-on-One-Chart/m-p/4100344#M162712</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try it I get the following error:&lt;BR /&gt;"The expression refers to multiple columns. Multiple columns cannot be conevrted to a scalar value."&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 21:45:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Lines-on-One-Chart/m-p/4100344#M162712</guid>
      <dc:creator>e175429</dc:creator>
      <dc:date>2024-08-14T21:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Lines on One Chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Lines-on-One-Chart/m-p/4101610#M162756</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="531109" data-lia-user-login="e175429" class="lia-mention lia-mention-user"&gt;e175429&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm sorry about this. I created a new table, are you doing the same as me? You can click on the link below to see where the error is occurring:&lt;A href="https://www.sqlgene.com/2019/04/30/dax-error-the-expression-refers-to-multiple-columns-multiple-columns-cannot-be-converted-to-a-scalar-value/" target="_blank"&gt;DAX Error: The Expression Refers to Multiple Columns. Multiple Columns Cannot Be Converted to a Scalar Value. - SQLGene Training&lt;/A&gt;&amp;nbsp;and if the problem persists, please give me a detailed description and I will be able to better solve your problem.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Zhu&lt;BR /&gt;Community Support Team&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If there is any post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;to help the other members find it more quickly.&lt;BR /&gt;If I misunderstand your needs or you still have problems on it, please feel free to let us know.&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Thanks a lot!&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2024 06:24:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Lines-on-One-Chart/m-p/4101610#M162756</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-08-15T06:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Lines on One Chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Lines-on-One-Chart/m-p/4102599#M162796</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry, the mistake was mine I was doing it wrong.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much, your suggestion gave me what I was ooking for.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, moving forward, as time goes on, i'll have more years to compare. This is what I'll have to o each time for each column from different tables I want to compare? I don't understand why BI didn't just map the data points initially, instead of having to create a whole new table.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2024 15:03:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Lines-on-One-Chart/m-p/4102599#M162796</guid>
      <dc:creator>e175429</dc:creator>
      <dc:date>2024-08-15T15:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Lines on One Chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Lines-on-One-Chart/m-p/4103040#M162813</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One more question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used your method on the CON column. How do I get the x-axis sorted numerically?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2024 21:05:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Lines-on-One-Chart/m-p/4103040#M162813</guid>
      <dc:creator>e175429</dc:creator>
      <dc:date>2024-08-15T21:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Lines on One Chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Lines-on-One-Chart/m-p/4103625#M162837</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="531109" data-lia-user-login="e175429" class="lia-mention lia-mention-user"&gt;e175429&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My answer to your first question is that in Power BI visual objects will calculate the corresponding values based on the fields we provide for the x-axis and the relationships we define, and in Power BI if the category column of one of your tables does not fully contain the category field of the other table, using the category field of one of the tables to create the x-axis will result in us displaying the line graphs incorrectly in a line graph. correctly. So we need to create a dim table that contains all the categories from both tables and use it as the x-axis to establish the correct relationship with the other two tables.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Your second question how do you sort the Con columns, the numeric format is automatically sorted when you use the line chart. How you want to sort the other formats you can refer to the link below:&lt;A href="https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Putting-stacked-column-chart-in-order/td-p/4023566" target="_blank" rel="noopener"&gt;Solved: Putting stacked column chart in order - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Considering that you need to compare different columns, I will give you an alternative method here.&lt;/P&gt;
&lt;P&gt;1.Create a new year column for 2023 and 2024 in Power Query Editor.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;2.Append operation:&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;3.You can now use the fields inside append1 table directly, and using Year as the legend allows you to visually compare two years of data.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Zhu&lt;BR /&gt;Community Support Team&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If there is any post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;to help the other members find it more quickly.&lt;BR /&gt;If I misunderstand your needs or you still have problems on it, please feel free to let us know.&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Thanks a lot!&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 06:01:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Lines-on-One-Chart/m-p/4103625#M162837</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-08-16T06:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Lines on One Chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Lines-on-One-Chart/m-p/4107311#M162992</link>
      <description>&lt;P&gt;On the y-axis, when I want to change to "Show value as percent of grand total", why does that not show the correct percentages?&lt;/P&gt;&lt;P&gt;These are the correct numbers:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But these are not the correct percetages:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 16:20:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Lines-on-One-Chart/m-p/4107311#M162992</guid>
      <dc:creator>e175429</dc:creator>
      <dc:date>2024-08-19T16:20:21Z</dc:date>
    </item>
  </channel>
</rss>

