<?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: all measure in Desktop</title>
    <link>https://community.fabric.microsoft.com/t5/Desktop/all-measure/m-p/2387741#M857504</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Try to create measures like this:&lt;/P&gt;
&lt;LI-CODE lang="ruby"&gt;cat1 = 
CALCULATE(SUM('Table1'[Number]),FILTER(ALLSELECTED(Table1),'Table1'[Category]="Fatal Accident"))&lt;/LI-CODE&gt;&lt;LI-CODE lang="ruby"&gt;cat2 = 
CALCULATE(SUM('Table1'[Number]),FILTER(ALLSELECTED(Table1),'Table1'[Category]="lnjury w/o Lost Time Accident"))&lt;/LI-CODE&gt;&lt;LI-CODE lang="ruby"&gt;cat3 = 
CALCULATE(SUM('Table1'[Number]),FILTER(ALLSELECTED(Table1),'Table1'[Category]="Lost Time Accident"))&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;Result:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vangzhengmsft_0-1646976618746.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/682535iBE95332EDC35442A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vangzhengmsft_0-1646976618746.png" alt="vangzhengmsft_0-1646976618746.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Please refer to the attachment below for details.&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Zeon Zheng&lt;/P&gt;
&lt;P&gt;&lt;BR /&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 it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
    <pubDate>Fri, 11 Mar 2022 05:30:54 GMT</pubDate>
    <dc:creator>v-angzheng-msft</dc:creator>
    <dc:date>2022-03-11T05:30:54Z</dc:date>
    <item>
      <title>all measure</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/all-measure/m-p/2380403#M855497</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need a column chart to show accident by year, and a multi-row card to show the number of selected year.&lt;/P&gt;&lt;P&gt;Please advise how to write the measure. Thank you&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 521px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/680633iAFCEFAB88299DCBC/image-dimensions/521x222?v=v2" width="521" height="222" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my data&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture 2.PNG" style="width: 304px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/680634i54065E7833F1694A/image-dimensions/304x402?v=v2" width="304" height="402" role="button" title="Capture 2.PNG" alt="Capture 2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 06:39:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/all-measure/m-p/2380403#M855497</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-08T06:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: all measure</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/all-measure/m-p/2380515#M855526</link>
      <description>&lt;P&gt;@Anonymous&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;You can use year from date hierarchy&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;year = year([Date])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use that on axis&lt;/P&gt;
&lt;P&gt;Catrgory legend&lt;/P&gt;
&lt;P&gt;and Sum(Table[Number])+0 , measure on values&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Multi-row car you should build on category , it should filter selected year&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if you want slicer not to filter stop interactions&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 07:20:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/all-measure/m-p/2380515#M855526</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-03-08T07:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: all measure</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/all-measure/m-p/2387741#M857504</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Try to create measures like this:&lt;/P&gt;
&lt;LI-CODE lang="ruby"&gt;cat1 = 
CALCULATE(SUM('Table1'[Number]),FILTER(ALLSELECTED(Table1),'Table1'[Category]="Fatal Accident"))&lt;/LI-CODE&gt;&lt;LI-CODE lang="ruby"&gt;cat2 = 
CALCULATE(SUM('Table1'[Number]),FILTER(ALLSELECTED(Table1),'Table1'[Category]="lnjury w/o Lost Time Accident"))&lt;/LI-CODE&gt;&lt;LI-CODE lang="ruby"&gt;cat3 = 
CALCULATE(SUM('Table1'[Number]),FILTER(ALLSELECTED(Table1),'Table1'[Category]="Lost Time Accident"))&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;Result:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vangzhengmsft_0-1646976618746.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/682535iBE95332EDC35442A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vangzhengmsft_0-1646976618746.png" alt="vangzhengmsft_0-1646976618746.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Please refer to the attachment below for details.&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Zeon Zheng&lt;/P&gt;
&lt;P&gt;&lt;BR /&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 it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 05:30:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/all-measure/m-p/2387741#M857504</guid>
      <dc:creator>v-angzheng-msft</dc:creator>
      <dc:date>2022-03-11T05:30:54Z</dc:date>
    </item>
  </channel>
</rss>

