<?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: Consolidade values in a pie chart in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Consolidade-values-in-a-pie-chart/m-p/4053327#M160848</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="755140" data-lia-user-login="msam86" class="lia-mention lia-mention-user"&gt;msam86&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to check each car and all three statuses associated with it, we can first create a new measure as shown below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;ConsolidatedStatus = 
VAR NA_Count = countx(
    filter(('Data'),[StatusPerYear]="NA"),[StatusPerYear])
VAR OK_Count = countx(
    filter(('Data'),[StatusPerYear]="Ok"),[StatusPerYear])
VAR Recall_Count = countx(
    filter(('Data'),[StatusPerYear]="Recall"),[StatusPerYear])
RETURN
"NA: " &amp;amp; NA_Count &amp;amp; ", OK: " &amp;amp; OK_Count &amp;amp; ", Recall: " &amp;amp; Recall_Count
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then modify the chart like this:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;In this way, when we hover on the part of the visual, we can view different types of cars and the number of associated states.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Joyce&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Jul 2024 07:27:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-07-22T07:27:39Z</dc:date>
    <item>
      <title>Consolidade values in a pie chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Consolidade-values-in-a-pie-chart/m-p/4051427#M160753</link>
      <description>&lt;P&gt;Hello friends, how are you?&lt;/P&gt;&lt;P&gt;I need help with the following scenario: I have several cars, where there is a year related to each car.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Through the selected year, I had a status according to the year of manufacture of the car. To do this, I created a parameter where it adds +1 to the year and brings the status dynamically according to the year of the parameter.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In the StatusMeasure by StatusType graph, information is generated dynamically with the year parameter. Every time you modify the parameter bar, it modifies the graph.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;However, in the StatusMeasure by Car and StatusType graph, it shows each status related to the car. Is it possible to consolidate which car it is and bring up the number of occurrences (NA, OK, Recall)?&lt;BR /&gt;&lt;BR /&gt;I've attached the pbix file.&lt;BR /&gt;&lt;A href="https://1drv.ms/u/s!AtC3xJL1OGwj8HGrkddiZjM1rFEd?e=5YmXaG" target="_blank"&gt;calculate clients.pbix&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2024 22:32:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Consolidade-values-in-a-pie-chart/m-p/4051427#M160753</guid>
      <dc:creator>msam86</dc:creator>
      <dc:date>2024-07-19T22:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Consolidade values in a pie chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Consolidade-values-in-a-pie-chart/m-p/4053327#M160848</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="755140" data-lia-user-login="msam86" class="lia-mention lia-mention-user"&gt;msam86&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to check each car and all three statuses associated with it, we can first create a new measure as shown below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;ConsolidatedStatus = 
VAR NA_Count = countx(
    filter(('Data'),[StatusPerYear]="NA"),[StatusPerYear])
VAR OK_Count = countx(
    filter(('Data'),[StatusPerYear]="Ok"),[StatusPerYear])
VAR Recall_Count = countx(
    filter(('Data'),[StatusPerYear]="Recall"),[StatusPerYear])
RETURN
"NA: " &amp;amp; NA_Count &amp;amp; ", OK: " &amp;amp; OK_Count &amp;amp; ", Recall: " &amp;amp; Recall_Count
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then modify the chart like this:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;In this way, when we hover on the part of the visual, we can view different types of cars and the number of associated states.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Joyce&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2024 07:27:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Consolidade-values-in-a-pie-chart/m-p/4053327#M160848</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-22T07:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: Consolidade values in a pie chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Consolidade-values-in-a-pie-chart/m-p/4054056#M160889</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;I think you solved part of my problem. Now I can see the consolidated cars, but I need to count this status (Recall, Ok and NA), and return this number by type of car.&lt;/P&gt;&lt;P&gt;It's possible?&lt;BR /&gt;&lt;BR /&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2024 13:21:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Consolidade-values-in-a-pie-chart/m-p/4054056#M160889</guid>
      <dc:creator>msam86</dc:creator>
      <dc:date>2024-07-22T13:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Consolidade values in a pie chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Consolidade-values-in-a-pie-chart/m-p/4057859#M161056</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="755140" data-lia-user-login="msam86" class="lia-mention lia-mention-user"&gt;msam86&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Yes, you could check the count of status by type of car in Tooltips:&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2024 05:16:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Consolidade-values-in-a-pie-chart/m-p/4057859#M161056</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-24T05:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: Consolidade values in a pie chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Consolidade-values-in-a-pie-chart/m-p/4059376#M161119</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;I saw it in the tooltips. I just want to add ConsolidatedStatus of car. I would like to see for Volvo number 3 (NA 2 + OK 0 + Recall 1).&lt;BR /&gt;This way it will be reflected for other cars and the pie chart will be cleaner.&lt;BR /&gt;&lt;BR /&gt;Thanks a lot for your help.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2024 15:09:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Consolidade-values-in-a-pie-chart/m-p/4059376#M161119</guid>
      <dc:creator>msam86</dc:creator>
      <dc:date>2024-07-24T15:09:39Z</dc:date>
    </item>
  </channel>
</rss>

