<?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 Adjusting use relationship formula to include specific measure values on line graph in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adjusting-use-relationship-formula-to-include-specific-measure/m-p/1499722#M28976</link>
    <description>&lt;P&gt;I have 2 rolling 14 day average calculations and Im hoping to display them (highlighted) on the same line graph:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However I've tried to create a userelationship measure to get them on to the correct axis and I'm getting the correct numbers for &lt;U&gt;Epi Count&lt;/U&gt; but&amp;nbsp;&amp;nbsp;&lt;U&gt;Event coun&lt;/U&gt;t values are coming in as counts rather than the ones I need (highlighted&amp;nbsp; on left below):&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using this measure:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Cumulative Rate - Event Count = CALCULATE(COUNTX('Sheet1',[Prev 14 Day Event Count]/4761865*100000),USERELATIONSHIP(Sheet1[Event Date],DimDate[Dates]),NOT(ISBLANK('DimDate'[Dates])))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help get the Cumulative rate -Event counts on to the line graph&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SEE FILE ATTACHED&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dropbox.com/s/ksi9fm0kbzpj1hg/Notification%20vs.%20Epi.pbix?dl=0" target="_blank"&gt;https://www.dropbox.com/s/ksi9fm0kbzpj1hg/Notification%20vs.%20Epi.pbix?dl=0&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Nov 2020 16:50:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-17T16:50:38Z</dc:date>
    <item>
      <title>Adjusting use relationship formula to include specific measure values on line graph</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adjusting-use-relationship-formula-to-include-specific-measure/m-p/1499722#M28976</link>
      <description>&lt;P&gt;I have 2 rolling 14 day average calculations and Im hoping to display them (highlighted) on the same line graph:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However I've tried to create a userelationship measure to get them on to the correct axis and I'm getting the correct numbers for &lt;U&gt;Epi Count&lt;/U&gt; but&amp;nbsp;&amp;nbsp;&lt;U&gt;Event coun&lt;/U&gt;t values are coming in as counts rather than the ones I need (highlighted&amp;nbsp; on left below):&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using this measure:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Cumulative Rate - Event Count = CALCULATE(COUNTX('Sheet1',[Prev 14 Day Event Count]/4761865*100000),USERELATIONSHIP(Sheet1[Event Date],DimDate[Dates]),NOT(ISBLANK('DimDate'[Dates])))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help get the Cumulative rate -Event counts on to the line graph&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SEE FILE ATTACHED&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dropbox.com/s/ksi9fm0kbzpj1hg/Notification%20vs.%20Epi.pbix?dl=0" target="_blank"&gt;https://www.dropbox.com/s/ksi9fm0kbzpj1hg/Notification%20vs.%20Epi.pbix?dl=0&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 16:50:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adjusting-use-relationship-formula-to-include-specific-measure/m-p/1499722#M28976</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-17T16:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Adjusting use relationship formula to include specific measure values on line graph</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adjusting-use-relationship-formula-to-include-specific-measure/m-p/1500570#M29016</link>
      <description>&lt;P&gt;what is your rationale for the bidirectional search filter between the calendar table and Sheet1 ? What made you choose the Epi Date and Event Date as part of the X axis well?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 02:40:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adjusting-use-relationship-formula-to-include-specific-measure/m-p/1500570#M29016</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-11-18T02:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: Adjusting use relationship formula to include specific measure values on line graph</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adjusting-use-relationship-formula-to-include-specific-measure/m-p/1501965#M29054</link>
      <description>&lt;P&gt;To compare counts that come in on :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Notication date&lt;/P&gt;&lt;P&gt;2. Epi date&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 12:38:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adjusting-use-relationship-formula-to-include-specific-measure/m-p/1501965#M29054</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-18T12:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Adjusting use relationship formula to include specific measure values on line graph</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adjusting-use-relationship-formula-to-include-specific-measure/m-p/1502471#M29076</link>
      <description>&lt;P&gt;If you have 2 date columns in a fact table and one Dates table that joins to both fields, then in order to show 2 measures dependent on those 2 columns on one axis, you have to use the columns from Dates. If you use a date column from the fact table, one of those measures will always be screwed up. By the way, all columns in fact tables MUST always be hidden and one can slice and dice only via dimensions. Deviate from this and you'll be creating hell for yourself and your users. Tried and tested. Do not make the same mistakes.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 15:27:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adjusting-use-relationship-formula-to-include-specific-measure/m-p/1502471#M29076</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-18T15:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Adjusting use relationship formula to include specific measure values on line graph</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adjusting-use-relationship-formula-to-include-specific-measure/m-p/1502494#M29079</link>
      <description>&lt;P&gt;In your measure&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;Cumulative Rate - Event Count =
CALCULATE(
    COUNTX(
        'Sheet1',
        [Prev 14 Day Event Count] / 4761865 * 100000
    ),
    USERELATIONSHIP ( Sheet1[Event Date], DimDate[Dates] ),
    NOT (
        ISBLANK( 'DimDate'[Dates] )
    )
)&lt;/LI-CODE&gt;&lt;P&gt;you are using COUNTX. Obviously, this will always return an integer, not a number between 0 and 1. From the documentation of COUNTX:&amp;nbsp;&lt;SPAN&gt;Returns the number of values that are non blank by iterating the provided table. How then is it possible that your pictures show values between 0 and 1? I think your measure should be something like&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;Cumulative Rate - Event Count =
CALCULATE(
    COUNTX(
        'Sheet1',
        [Prev 14 Day Event Count] 
    ) / 4761865 * 100000,
    USERELATIONSHIP ( Sheet1[Event Date], DimDate[Dates] ),
    // If you need this condition here,
    // it means something's wrong with
    // the model. A date table should
    // never store BLANKS in any of
    // its columns.
    NOT (
        ISBLANK( 'DimDate'[Dates] )
    )
)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 18 Nov 2020 15:34:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adjusting-use-relationship-formula-to-include-specific-measure/m-p/1502494#M29079</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-18T15:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: Adjusting use relationship formula to include specific measure values on line graph</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adjusting-use-relationship-formula-to-include-specific-measure/m-p/1502506#M29080</link>
      <description>&lt;P&gt;By the way, you should refrain yourself from enabling bi-directional filters in your model. Such a setup is dangerous (to say the least) and should only be used when you fully realize the consequences. It's absolutely not a technique to do what you use it for. Please use one-way, standard relationships if you want to be able to explain what your model is doing.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 15:38:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adjusting-use-relationship-formula-to-include-specific-measure/m-p/1502506#M29080</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-18T15:38:55Z</dc:date>
    </item>
  </channel>
</rss>

