<?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: Dynamically display a line in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Dynamically-display-a-line/m-p/4745847#M12619</link>
    <description>&lt;P&gt;Please provide sample data that covers your issue or question &lt;STRONG&gt;completely&lt;/STRONG&gt;, in a &lt;STRONG&gt;usable&lt;/STRONG&gt; format (not as a screenshot).&lt;BR /&gt;Do not include sensitive information. Do not include anything that is unrelated to the issue or question. &lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;Need help uploading data? &lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt; &lt;BR /&gt;Want faster answers? &lt;A href="https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Jun 2025 00:40:42 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2025-06-27T00:40:42Z</dc:date>
    <item>
      <title>Dynamically display a line</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Dynamically-display-a-line/m-p/4745643#M12614</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need a help . I want to display annual production line which will be plotted in x axis.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have two slicers&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. crs_period&lt;/P&gt;&lt;P&gt;2. midas_data&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;crs_period contains years&lt;/P&gt;&lt;P&gt;midas_data contains values in the form of&amp;nbsp;&lt;/P&gt;&lt;P&gt;2021-1-ls&amp;nbsp;&lt;/P&gt;&lt;P&gt;2021-2-cs&lt;/P&gt;&lt;P&gt;2021-3-fs&lt;/P&gt;&lt;P&gt;2021-4-su&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;This will continue for other years with same combination&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my measure :&lt;/P&gt;&lt;P&gt;VAR crsy= SELECTEDVALUE('signficant'[crs_period])&lt;/P&gt;&lt;P&gt;VAR midasy= SELECTEDVALUE('signficant'[midas_period])&lt;/P&gt;&lt;P&gt;RETURN&amp;nbsp;&lt;/P&gt;&lt;P&gt;DIVIDE(calculate(&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DIVIDE(CONVERT(SUM('Significant'[production]),INTEGER),1000,0),&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;'signficant'[crs_period]=crsy &amp;amp;&amp;amp; ('signficant'[category]&amp;lt;&amp;gt;"is_plan_metrics_empty" || 'signficant' [value]&amp;lt;&amp;gt;"2")),2,0)&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Requirement: when we select two slicers then I should get a line plot . The line plot should show one year back data&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Example:&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;slicer 1 that is crs_period : 2022&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Slicer 2 that is 2023-3-fs&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Then line should show 2022-fs&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Based on slicer 2 year then line should give one year back data based on midas_period.&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Midas_period is a column which contains data .&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Here is the format&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;2018-cs&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;2018-fs&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;2018-su&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;2018-ls&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Same will be continued for next years&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Both slicers will have single selection on&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2025 19:33:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Dynamically-display-a-line/m-p/4745643#M12614</guid>
      <dc:creator>muktapurc</dc:creator>
      <dc:date>2025-06-26T19:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically display a line</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Dynamically-display-a-line/m-p/4745847#M12619</link>
      <description>&lt;P&gt;Please provide sample data that covers your issue or question &lt;STRONG&gt;completely&lt;/STRONG&gt;, in a &lt;STRONG&gt;usable&lt;/STRONG&gt; format (not as a screenshot).&lt;BR /&gt;Do not include sensitive information. Do not include anything that is unrelated to the issue or question. &lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;Need help uploading data? &lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt; &lt;BR /&gt;Want faster answers? &lt;A href="https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2025 00:40:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Dynamically-display-a-line/m-p/4745847#M12619</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2025-06-27T00:40:42Z</dc:date>
    </item>
  </channel>
</rss>

