<?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: Use a single value to return multiple metric in bar chart? in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Use-a-single-value-to-return-multiple-metric-in-bar-chart/m-p/3851400#M34620</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="727604" data-lia-user-login="DARKLOARD" class="lia-mention lia-mention-user"&gt;DARKLOARD&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please have a try.&lt;/P&gt;
&lt;P&gt;Create a measure.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Dynamic Metric Value = 
VAR SelectedMetric = SELECTEDVALUE('Measure Table'[Metrics], "Default")
RETURN
IF(
    SelectedMetric = "CASA",
    CALCULATE(SUM('DataTable'[SavingsBalance]), 'DataTable'[Date] IN {"Dec'23", "Mar'24"}),
    CALCULATE(SUM('DataTable'[FixedDeposit]), 'DataTable'[Date] IN {"Dec'23", "Mar'24"})
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;How to Get Your Question Answered Quickly - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;BR /&gt;Community Support Team _ Rongtie&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 19 Apr 2024 02:13:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-04-19T02:13:21Z</dc:date>
    <item>
      <title>Use a single value to return multiple metric in bar chart?</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Use-a-single-value-to-return-multiple-metric-in-bar-chart/m-p/3850593#M34610</link>
      <description>&lt;P&gt;Hello all!&lt;/P&gt;&lt;P&gt;I have a question, I have a dataste set which looks into sum of Savings Balance for Dec'23 and for Mar'24.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have it summed up and displayed like this in bar&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Now I need to add a Fixed Deposit metric also that again look into sum for Dec'23 and Mar'24.&lt;/P&gt;&lt;P&gt;I figured that having a filter that I can use to switch between Saving Account and Fixed Deposit metric for two dates would be smart, but I cant seem to form a filter that works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I made a new table called Measure Table with the below column, with these options,&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;then a new measure, but it doesnt work. I think im missing something but not sure if theres a way to create a filter that shows value for Savings &amp;amp; FD.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SA = IF(CONTAINS('Measure Table', 'Measure Table'[Metrics], "CASA"), [DEC'23], [Mar'24])&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If any help that would be great!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 16:06:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Use-a-single-value-to-return-multiple-metric-in-bar-chart/m-p/3850593#M34610</guid>
      <dc:creator>DARKLOARD</dc:creator>
      <dc:date>2024-04-18T16:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: Use a single value to return multiple metric in bar chart?</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Use-a-single-value-to-return-multiple-metric-in-bar-chart/m-p/3851400#M34620</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="727604" data-lia-user-login="DARKLOARD" class="lia-mention lia-mention-user"&gt;DARKLOARD&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please have a try.&lt;/P&gt;
&lt;P&gt;Create a measure.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Dynamic Metric Value = 
VAR SelectedMetric = SELECTEDVALUE('Measure Table'[Metrics], "Default")
RETURN
IF(
    SelectedMetric = "CASA",
    CALCULATE(SUM('DataTable'[SavingsBalance]), 'DataTable'[Date] IN {"Dec'23", "Mar'24"}),
    CALCULATE(SUM('DataTable'[FixedDeposit]), 'DataTable'[Date] IN {"Dec'23", "Mar'24"})
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;How to Get Your Question Answered Quickly - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;BR /&gt;Community Support Team _ Rongtie&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2024 02:13:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Use-a-single-value-to-return-multiple-metric-in-bar-chart/m-p/3851400#M34620</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-19T02:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Use a single value to return multiple metric in bar chart?</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Use-a-single-value-to-return-multiple-metric-in-bar-chart/m-p/3852287#M34623</link>
      <description>&lt;P&gt;Hey thanks for the response, some quetions&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The field below is something I will have to create I suppose? Combination of 23+24 numbers?&amp;nbsp;&lt;PRE&gt;(SUM('DataTable'[SavingsBalance])​&lt;/PRE&gt;&lt;/LI&gt;&lt;LI&gt;And i suppose I should have been more clear, these two fields contain the amount per customer for that month year&lt;PRE&gt;'DataTable'[Date] IN {"Dec'23", "Mar'24"})​&lt;/PRE&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So Dec'23 &amp;amp; Mar'24 look like this, no date but actual amount&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2024 05:55:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Use-a-single-value-to-return-multiple-metric-in-bar-chart/m-p/3852287#M34623</guid>
      <dc:creator>DARKLOARD</dc:creator>
      <dc:date>2024-04-19T05:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: Use a single value to return multiple metric in bar chart?</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Use-a-single-value-to-return-multiple-metric-in-bar-chart/m-p/3861844#M34668</link>
      <description>&lt;P&gt;I was able to update the base file to include identifier for CASA &amp;amp; FD. Hence using these identifier as the filter for the 2 years.&lt;/P&gt;&lt;P&gt;Was able to resolve this issue!&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2024 09:58:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Use-a-single-value-to-return-multiple-metric-in-bar-chart/m-p/3861844#M34668</guid>
      <dc:creator>DARKLOARD</dc:creator>
      <dc:date>2024-04-23T09:58:33Z</dc:date>
    </item>
  </channel>
</rss>

