<?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 Dynamic Measures/Titles (Using Parameter Table) in Quick Measures Gallery</title>
    <link>https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Dynamic-Measures-Titles-Using-Parameter-Table/m-p/196011#M19</link>
    <description>&lt;P&gt;Where you have a single numeric field (e.g. 'Value') in your table though each row represents a different measure name (and/or unit for example) then you can create a dynamic measure to be displayed in your report.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will need to create a seperate table with a single column (e.g. through 'Enter Data' in the Query Editor) containing just the unique list of measure names, and use this field as a slicer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the example attached, there are multiple types of reading values, and each of these reading values can be expressed in one or more units of measure. &amp;nbsp;A list of unique measure names is included as a table called pMeasuresList and each of the units of measure is in a table called pUnitNames. The fields from these two single column tables are included as slicers on each page.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The dynamic measure to then return the value of the selected measure name/unit of measure is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Average Measure Value = &lt;BR /&gt;VAR MEASURENAME = IF(HASONEVALUE(pMeasuresList[Measure Names]),VALUES(pMeasuresList[Measure Names]),"Tidal Level")&lt;BR /&gt;VAR UNITNAME = IF(HASONEVALUE(pUnitNames[unitName]),VALUES(pUnitNames[unitName]),"mAOD")&lt;BR /&gt;RETURN&lt;BR /&gt;CALCULATE(AVERAGE(Readings[value]),'Measures 1'[qualifier]=MEASURENAME,'Measures 1'[unitName]=UNITNAME)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that this has a default value - so if the user has not made any slicer selections then it defaults to the reading "Tidal level" shown in Unit Of Measure 'mAOD'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The same principle can be applied to the title, so that the report page title reflects what is being shown in the graphs:&lt;/P&gt;
&lt;P&gt;Title Station Analysis = &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;VAR MEASURENAME = IF(HASONEVALUE(pMeasuresList[Measure Names]),VALUES(pMeasuresList[Measure Names]),"Tidal Level")&lt;BR /&gt;VAR UNITNAME = IF(HASONEVALUE(pUnitNames[unitName]),VALUES(pUnitNames[unitName]),"mAOD")&lt;BR /&gt;RETURN&lt;BR /&gt;MEASURENAME &amp;amp; " (" &amp;amp; UNITNAME &amp;amp; ") Station Analysis"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="reportid hidden"&gt;eyJrIjoiMmJlOGVkYjItMjY2OC00M2VjLTg3ZGQtNmRjNGUxNmEyNmYwIiwidCI6IjBjNzk5ZDM4LTQ3NjQtNDJiYy1iNGZmLTIzYmViYTljN2ZlMiIsImMiOjh9&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 17 Jun 2017 09:54:02 GMT</pubDate>
    <dc:creator>rsaprano</dc:creator>
    <dc:date>2017-06-17T09:54:02Z</dc:date>
    <item>
      <title>Dynamic Measures/Titles (Using Parameter Table)</title>
      <link>https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Dynamic-Measures-Titles-Using-Parameter-Table/m-p/196011#M19</link>
      <description>&lt;P&gt;Where you have a single numeric field (e.g. 'Value') in your table though each row represents a different measure name (and/or unit for example) then you can create a dynamic measure to be displayed in your report.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will need to create a seperate table with a single column (e.g. through 'Enter Data' in the Query Editor) containing just the unique list of measure names, and use this field as a slicer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the example attached, there are multiple types of reading values, and each of these reading values can be expressed in one or more units of measure. &amp;nbsp;A list of unique measure names is included as a table called pMeasuresList and each of the units of measure is in a table called pUnitNames. The fields from these two single column tables are included as slicers on each page.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The dynamic measure to then return the value of the selected measure name/unit of measure is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Average Measure Value = &lt;BR /&gt;VAR MEASURENAME = IF(HASONEVALUE(pMeasuresList[Measure Names]),VALUES(pMeasuresList[Measure Names]),"Tidal Level")&lt;BR /&gt;VAR UNITNAME = IF(HASONEVALUE(pUnitNames[unitName]),VALUES(pUnitNames[unitName]),"mAOD")&lt;BR /&gt;RETURN&lt;BR /&gt;CALCULATE(AVERAGE(Readings[value]),'Measures 1'[qualifier]=MEASURENAME,'Measures 1'[unitName]=UNITNAME)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that this has a default value - so if the user has not made any slicer selections then it defaults to the reading "Tidal level" shown in Unit Of Measure 'mAOD'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The same principle can be applied to the title, so that the report page title reflects what is being shown in the graphs:&lt;/P&gt;
&lt;P&gt;Title Station Analysis = &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;VAR MEASURENAME = IF(HASONEVALUE(pMeasuresList[Measure Names]),VALUES(pMeasuresList[Measure Names]),"Tidal Level")&lt;BR /&gt;VAR UNITNAME = IF(HASONEVALUE(pUnitNames[unitName]),VALUES(pUnitNames[unitName]),"mAOD")&lt;BR /&gt;RETURN&lt;BR /&gt;MEASURENAME &amp;amp; " (" &amp;amp; UNITNAME &amp;amp; ") Station Analysis"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="reportid hidden"&gt;eyJrIjoiMmJlOGVkYjItMjY2OC00M2VjLTg3ZGQtNmRjNGUxNmEyNmYwIiwidCI6IjBjNzk5ZDM4LTQ3NjQtNDJiYy1iNGZmLTIzYmViYTljN2ZlMiIsImMiOjh9&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jun 2017 09:54:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Dynamic-Measures-Titles-Using-Parameter-Table/m-p/196011#M19</guid>
      <dc:creator>rsaprano</dc:creator>
      <dc:date>2017-06-17T09:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Measures/Titles (Using Parameter Table)</title>
      <link>https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Dynamic-Measures-Titles-Using-Parameter-Table/m-p/401336#M139</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;could ypu please tell me from where should i get current year example rain data and Historic flood warnings data?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Kailas S.&lt;/P&gt;</description>
      <pubDate>Sat, 21 Apr 2018 03:18:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Dynamic-Measures-Titles-Using-Parameter-Table/m-p/401336#M139</guid>
      <dc:creator>KailasSwami698</dc:creator>
      <dc:date>2018-04-21T03:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Measures/Titles (Using Parameter Table)</title>
      <link>https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Dynamic-Measures-Titles-Using-Parameter-Table/m-p/407062#M143</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Environment Agency data I used is available at&amp;nbsp;&lt;A href="http://environment.data.gov.uk/flood-monitoring/archive" target="_blank"&gt;http://environment.data.gov.uk/flood-monitoring/archive&lt;/A&gt; - this contains data both as CSVs and an API call&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Rishi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2018 08:50:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Dynamic-Measures-Titles-Using-Parameter-Table/m-p/407062#M143</guid>
      <dc:creator>rsaprano</dc:creator>
      <dc:date>2018-04-30T08:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Measures/Titles (Using Parameter Table)</title>
      <link>https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Dynamic-Measures-Titles-Using-Parameter-Table/m-p/456972#M164</link>
      <description>&lt;P&gt;Hi Rishi Sir,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have only one words for you.. That is "Superb". No words after that. This is the real example of playing with visualization and DAX. I just started my Data Analyst career. Working in Power Bi since 2 months. This .pbix file is my inspiration and dream, that one day, i will be able to make this kind of visualization. I have learnt Power Bi from youtube, google and some blogs.So, your .pbix file will help me to learn more. Thanks a lot sir, for sharing this awesome creation with us. It will be a new milestone for newcommer like me.I have one question for you, hope you dont mind to answer this, how much experiences you have taken to achieve this level?&lt;/P&gt;
&lt;P&gt;Thank one again sir and if you have any tips and advice for newbie like me, then please share.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sincerely,&lt;/P&gt;
&lt;P&gt;Sayam&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Jul 2018 06:24:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Dynamic-Measures-Titles-Using-Parameter-Table/m-p/456972#M164</guid>
      <dc:creator>snandy2011</dc:creator>
      <dc:date>2018-07-07T06:24:12Z</dc:date>
    </item>
  </channel>
</rss>

