<?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: BASICS HELP How to equal a column so that it can be used as a value in a chart organized by date in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/BASICS-HELP-How-to-equal-a-column-so-that-it-can-be-used-as-a/m-p/4763723#M182467</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1290687" data-lia-user-login="lovekheart" class="lia-mention lia-mention-user"&gt;lovekheart&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your CONCATENATEX formula creates a text string, but a chart's Y-axis requires a single numerical value for each data point. To fix this, you need to use an aggregation function that tells Power BI how to summarize the [Totals] for each month.&lt;/P&gt;
&lt;P&gt;The most straightforward and recommended approach is to use the SUM function. This function will add up all values in the [Totals] column that correspond to each month on your X-axis. Even if there's only one value per month, SUM is the standard and most reliable method.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Total Amount = SUM('RAWDATA'[Totals])&lt;/LI-CODE&gt;
&lt;P&gt;To use this, create a new measure in your table and paste in the formula above. Then, build your line chart by placing your [year month] field on the X-axis and dragging your new [Total Amount] measure to the Y-axis. This will correctly plot the total for each month.&lt;/P&gt;
&lt;P&gt;If you are absolutely certain that there is only one row per month in your data, you could use SELECTEDVALUE as an alternative. This function returns the value only if it's the single, unambiguous value in the context; otherwise, it returns blank.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Total Amount = SELECTEDVALUE('RAWDATA'[Totals])&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Jul 2025 13:06:49 GMT</pubDate>
    <dc:creator>DataNinja777</dc:creator>
    <dc:date>2025-07-15T13:06:49Z</dc:date>
    <item>
      <title>BASICS HELP How to equal a column so that it can be used as a value in a chart organized by date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/BASICS-HELP-How-to-equal-a-column-so-that-it-can-be-used-as-a/m-p/4763708#M182466</link>
      <description>&lt;P&gt;Hello my raw data is column A = {Month} and column B = Totals. How can i create a measure that equals the values in the column B given {MONTH} has all distinct values and {Totals} are varied. I need to be able to create a line chart with (year month)=[already a seperate measure] as the x axis and this new created measure (Column B) as the y axis.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Ive tried this below but it didnt work &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;&amp;nbsp;&lt;SPAN&gt;ValuesofTotals = &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;VAR TotalsValues = VALUES('RAWDATA'[Totals])&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RETURN CONCATENATEX(TotalsValues, [Totals], ", ")&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2025 12:46:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/BASICS-HELP-How-to-equal-a-column-so-that-it-can-be-used-as-a/m-p/4763708#M182466</guid>
      <dc:creator>lovekheart</dc:creator>
      <dc:date>2025-07-15T12:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: BASICS HELP How to equal a column so that it can be used as a value in a chart organized by date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/BASICS-HELP-How-to-equal-a-column-so-that-it-can-be-used-as-a/m-p/4763723#M182467</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1290687" data-lia-user-login="lovekheart" class="lia-mention lia-mention-user"&gt;lovekheart&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your CONCATENATEX formula creates a text string, but a chart's Y-axis requires a single numerical value for each data point. To fix this, you need to use an aggregation function that tells Power BI how to summarize the [Totals] for each month.&lt;/P&gt;
&lt;P&gt;The most straightforward and recommended approach is to use the SUM function. This function will add up all values in the [Totals] column that correspond to each month on your X-axis. Even if there's only one value per month, SUM is the standard and most reliable method.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Total Amount = SUM('RAWDATA'[Totals])&lt;/LI-CODE&gt;
&lt;P&gt;To use this, create a new measure in your table and paste in the formula above. Then, build your line chart by placing your [year month] field on the X-axis and dragging your new [Total Amount] measure to the Y-axis. This will correctly plot the total for each month.&lt;/P&gt;
&lt;P&gt;If you are absolutely certain that there is only one row per month in your data, you could use SELECTEDVALUE as an alternative. This function returns the value only if it's the single, unambiguous value in the context; otherwise, it returns blank.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Total Amount = SELECTEDVALUE('RAWDATA'[Totals])&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2025 13:06:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/BASICS-HELP-How-to-equal-a-column-so-that-it-can-be-used-as-a/m-p/4763723#M182467</guid>
      <dc:creator>DataNinja777</dc:creator>
      <dc:date>2025-07-15T13:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: BASICS HELP How to equal a column so that it can be used as a value in a chart organized by date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/BASICS-HELP-How-to-equal-a-column-so-that-it-can-be-used-as-a/m-p/4764920#M182529</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1290687" data-lia-user-login="lovekheart" class="lia-mention lia-mention-user"&gt;lovekheart&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to the Microsoft fabric community forum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hey, the issue here is that your original formula was returning text using CONCATENATEX, but for a line chart, the Y-axis needs a numeric value like a sum or total.&lt;/P&gt;
&lt;P&gt;The correct approach is to create a measure using SUM('RAWDATA'[Totals]), which gives you a proper number for each month. Also, to show the months clearly on the X-axis, it's better to create a custom column like YearMonth = FORMAT([Month], "YYYY-MM"), so Power BI can group and display the data correctly.&lt;/P&gt;
&lt;P&gt;Once you’ve done this, just bring the YearMonth column into the X-axis and the Total Amount measure into the Y-axis of a line chart. This will correctly show one data point per month, exactly as you wanted.&lt;/P&gt;
&lt;P&gt;Avoid using the default date hierarchy, and use your own YearMonth column for full control.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please find the attached &lt;STRONG&gt;pbix&lt;/STRONG&gt; file for your reference.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Tejaswi.&lt;BR /&gt;Community Support&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jul 2025 08:45:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/BASICS-HELP-How-to-equal-a-column-so-that-it-can-be-used-as-a/m-p/4764920#M182529</guid>
      <dc:creator>v-tejrama</dc:creator>
      <dc:date>2025-07-16T08:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: BASICS HELP How to equal a column so that it can be used as a value in a chart organized by date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/BASICS-HELP-How-to-equal-a-column-so-that-it-can-be-used-as-a/m-p/4769653#M182667</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1290687" data-lia-user-login="lovekheart" class="lia-mention lia-mention-user"&gt;lovekheart&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just checking in have you been able to resolve this issue? If so, it would be greatly appreciated if you could mark the most helpful reply accordingly. This helps other community members quickly find relevant solutions.&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Jul 2025 16:15:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/BASICS-HELP-How-to-equal-a-column-so-that-it-can-be-used-as-a/m-p/4769653#M182667</guid>
      <dc:creator>v-tejrama</dc:creator>
      <dc:date>2025-07-20T16:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: BASICS HELP How to equal a column so that it can be used as a value in a chart organized by date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/BASICS-HELP-How-to-equal-a-column-so-that-it-can-be-used-as-a/m-p/4773370#M182803</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1290687" data-lia-user-login="lovekheart" class="lia-mention lia-mention-user"&gt;lovekheart&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just wanted to check if you had the opportunity to review the suggestion provided?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2025 09:03:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/BASICS-HELP-How-to-equal-a-column-so-that-it-can-be-used-as-a/m-p/4773370#M182803</guid>
      <dc:creator>v-tejrama</dc:creator>
      <dc:date>2025-07-23T09:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: BASICS HELP How to equal a column so that it can be used as a value in a chart organized by date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/BASICS-HELP-How-to-equal-a-column-so-that-it-can-be-used-as-a/m-p/4776991#M182964</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1290687" data-lia-user-login="lovekheart" class="lia-mention lia-mention-user"&gt;lovekheart&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions.&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Jul 2025 06:17:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/BASICS-HELP-How-to-equal-a-column-so-that-it-can-be-used-as-a/m-p/4776991#M182964</guid>
      <dc:creator>v-tejrama</dc:creator>
      <dc:date>2025-07-26T06:17:49Z</dc:date>
    </item>
  </channel>
</rss>

