<?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 include multiple columns as a legend in one chart(not dynamic legend) in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/include-multiple-columns-as-a-legend-in-one-chart-not-dynamic/m-p/2930542#M96396</link>
    <description>&lt;P&gt;I have a table containing answeres yes/no for one question from many people. I have a simple measure which calculates % of yes answeres:&lt;BR /&gt;%_ = calculate(count(person_id), answer="yes")/calculate(count(person_id)))&lt;BR /&gt;per each row(per each person) I have his/her gender and age group in two separated column, how can I visualise a simple bar chart, where I will have measure per each gender and age group in one axis, like this&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Sat, 26 Nov 2022 10:38:25 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-11-26T10:38:25Z</dc:date>
    <item>
      <title>include multiple columns as a legend in one chart(not dynamic legend)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/include-multiple-columns-as-a-legend-in-one-chart-not-dynamic/m-p/2930542#M96396</link>
      <description>&lt;P&gt;I have a table containing answeres yes/no for one question from many people. I have a simple measure which calculates % of yes answeres:&lt;BR /&gt;%_ = calculate(count(person_id), answer="yes")/calculate(count(person_id)))&lt;BR /&gt;per each row(per each person) I have his/her gender and age group in two separated column, how can I visualise a simple bar chart, where I will have measure per each gender and age group in one axis, like this&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Sat, 26 Nov 2022 10:38:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/include-multiple-columns-as-a-legend-in-one-chart-not-dynamic/m-p/2930542#M96396</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-26T10:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: include multiple columns as a legend in one chart(not dynamic legend)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/include-multiple-columns-as-a-legend-in-one-chart-not-dynamic/m-p/2931266#M96433</link>
      <description>&lt;P&gt;Usually you create a reference table with the desired buckets and then add a measure or calculated column with the computation for each bucket (and another column with the sort order)&lt;/P&gt;</description>
      <pubDate>Sun, 27 Nov 2022 16:24:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/include-multiple-columns-as-a-legend-in-one-chart-not-dynamic/m-p/2931266#M96433</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2022-11-27T16:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: include multiple columns as a legend in one chart(not dynamic legend)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/include-multiple-columns-as-a-legend-in-one-chart-not-dynamic/m-p/2931543#M96446</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to your description, you want to show gender and age on the X-axis of the bar chart. Is that right?&lt;BR /&gt;For your needs, you need to create a new single-column table as a field on the X axis, and then create a measure to evaluate different values for each case, and then place it on the Y axis to meet your needs.&lt;/P&gt;
&lt;P&gt;If you need us to make a case for you, you can provide some sample data to us.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Aniya Zhang&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt; it as the solution&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2022 01:29:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/include-multiple-columns-as-a-legend-in-one-chart-not-dynamic/m-p/2931543#M96446</guid>
      <dc:creator>v-yueyunzh-msft</dc:creator>
      <dc:date>2022-11-28T01:29:52Z</dc:date>
    </item>
  </channel>
</rss>

