<?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: Line values is not correct with the if dax from slicer value in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Line-values-is-not-correct-with-the-if-dax-from-slicer-value/m-p/2358401#M60169</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;, you have Fund Type as your legend, which might be stopping your measure from evaluating as TRUE.&lt;/P&gt;</description>
    <pubDate>Thu, 24 Feb 2022 09:59:39 GMT</pubDate>
    <dc:creator>Russell-PBI</dc:creator>
    <dc:date>2022-02-24T09:59:39Z</dc:date>
    <item>
      <title>Line values is not correct with the if dax from slicer value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Line-values-is-not-correct-with-the-if-dax-from-slicer-value/m-p/2358335#M60161</link>
      <description>&lt;P&gt;Could someone help why the line value function is not working with the selectedvalue in the slicer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a slicer Fund Type with the options below. Using a card with DAX&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Select Fund Type = &lt;/SPAN&gt;&lt;SPAN&gt;selectedvalue&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Fund Type'[Fund Type]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"NF"&lt;/SPAN&gt;&lt;SPAN&gt;) is displaying correctly and the Avg card is display correctly.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;However assigning the Avg to the line is always evaluating to 20&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Avg = &lt;/SPAN&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;selectedvalue&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Fund Type'[Fund Type]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"NF"&lt;/SPAN&gt;&lt;SPAN&gt;) = &lt;/SPAN&gt;&lt;SPAN&gt;"NF"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;50000&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;200&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;This is a snapshot when no&amp;nbsp; Fund Type Industry is selected and the Avg card is showing 50K but the Avg in the chart is showing 200 . It is always showing 200 in the chart irregardless of the value in the Avg card.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 24 Feb 2022 09:36:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Line-values-is-not-correct-with-the-if-dax-from-slicer-value/m-p/2358335#M60161</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-24T09:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Line values is not correct with the if dax from slicer value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Line-values-is-not-correct-with-the-if-dax-from-slicer-value/m-p/2358401#M60169</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;, you have Fund Type as your legend, which might be stopping your measure from evaluating as TRUE.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 09:59:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Line-values-is-not-correct-with-the-if-dax-from-slicer-value/m-p/2358401#M60169</guid>
      <dc:creator>Russell-PBI</dc:creator>
      <dc:date>2022-02-24T09:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: Line values is not correct with the if dax from slicer value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Line-values-is-not-correct-with-the-if-dax-from-slicer-value/m-p/2358414#M60171</link>
      <description>&lt;P&gt;Needed the fund type in the column series to depict the different colour of the fund type. Is there a way to based only on selected value.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 10:05:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Line-values-is-not-correct-with-the-if-dax-from-slicer-value/m-p/2358414#M60171</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-24T10:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: Line values is not correct with the if dax from slicer value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Line-values-is-not-correct-with-the-if-dax-from-slicer-value/m-p/2358503#M60175</link>
      <description>&lt;P&gt;Needed to have column series of fund type and need to calculate the average in the line depending on the fund type selected. If none is selected then it is average of all fund types. Hope that clarify the context on the goal&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 10:40:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Line-values-is-not-correct-with-the-if-dax-from-slicer-value/m-p/2358503#M60175</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-24T10:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: Line values is not correct with the if dax from slicer value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Line-values-is-not-correct-with-the-if-dax-from-slicer-value/m-p/2358985#M60197</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;, does this work?:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;Avg = 
IF(
     CALCULATE(
          DISTINCTCOUNT('Fund Type'[Fund Type])
     ,    ALLSELECTED('Fund Type'[Fund Type])
     ) &amp;gt; 1
,    50000
,    200
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 14:21:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Line-values-is-not-correct-with-the-if-dax-from-slicer-value/m-p/2358985#M60197</guid>
      <dc:creator>Russell-PBI</dc:creator>
      <dc:date>2022-02-24T14:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Line values is not correct with the if dax from slicer value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Line-values-is-not-correct-with-the-if-dax-from-slicer-value/m-p/2359747#M60259</link>
      <description>&lt;P&gt;It did not work unless the column series Fund Type is remove. Found a way around it where the slicer is at the Fund Type table ( containing a list of distinct values) and the coumn series is at the table row level. Thank you so much for your help&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 21:43:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Line-values-is-not-correct-with-the-if-dax-from-slicer-value/m-p/2359747#M60259</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-24T21:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Line values is not correct with the if dax from slicer value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Line-values-is-not-correct-with-the-if-dax-from-slicer-value/m-p/2363784#M60477</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I am so glad to hear that you have solved your problem , please consider Accept it as the solution to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Community Support Team _ Ailsa Tao&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 06:52:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Line-values-is-not-correct-with-the-if-dax-from-slicer-value/m-p/2363784#M60477</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-28T06:52:22Z</dc:date>
    </item>
  </channel>
</rss>

