<?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: KPI visual connected to SSAS MD datasets that are set to refresh are not refreshing. in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/KPI-visual-connected-to-SSAS-MD-datasets-that-are-set-to-refresh/m-p/745113#M11029</link>
    <description>&lt;P&gt;The "trick" with KPIs is that you need to setup a Cache Refresh Plan for the underlying dataset (the bit you've left blank), just setting the expiry will not work. (this is hidden in the documentation somewhere, but I missed it the first time I setup a KPI too)&lt;/P&gt;</description>
    <pubDate>Sun, 21 Jul 2019 11:52:36 GMT</pubDate>
    <dc:creator>d_gosbell</dc:creator>
    <dc:date>2019-07-21T11:52:36Z</dc:date>
    <item>
      <title>KPI visual connected to SSAS MD datasets that are set to refresh are not refreshing.</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/KPI-visual-connected-to-SSAS-MD-datasets-that-are-set-to-refresh/m-p/744629#M11025</link>
      <description>&lt;P&gt;This is our first time setting up Power BI Report Server with KPIs. Current version is August 2018.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've created 4 visual KPIs on the Power BI Report Server that use 3 different shared datasets (uploaded separately to the server), the datasets all use the same Data Source and are MDX queries. The Data Source is a SSAS MD database and we have set it to "Using the following credentials" and set a specific Windows user with necessary permissions to the cubes. Two of the datasets connect to one Cube, the third DS to a different cube. User access has been tested via SSMS\browse an SSAS database\cube.&lt;BR /&gt;NOTE: the SSAS MD Cubes are updated once a day usually around 7:00 AM (depending on ETL performance).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Here's a sample of the dataset MDX:&lt;/P&gt;&lt;PRE&gt;SELECT 
[Measures].[MYMEASURE] ON COLUMNS, 
[Event Date].[Fiscal Period Hierarchy].[Fisc Date].MEMBERS ON ROWS 
FROM 
(SELECT ( { StrToMember("[Event Date].[Fiscal Period Hierarchy].[Fisc Date].&amp;amp;[" + Format(now()-14, "yyyyMMdd") + "]")
: StrToMember("[Event Date].[Fiscal Period Hierarchy].[Fisc Date].&amp;amp;[" + Format(now(), "yyyyMMdd") + "]")} 
) ON COLUMNS 
FROM [MYCUBE] )
WHERE [Clinical Location Portfolio].[Organization Code].&amp;amp;[MYORG]&lt;/PRE&gt;&lt;P&gt;All datasets are setup with Caching settings of:&lt;/P&gt;&lt;P&gt;- Cache copies of this data set and use them when available&lt;/P&gt;&lt;P&gt;- - Cache Expires on a schedule&amp;nbsp;&lt;/P&gt;&lt;P&gt;- - - Report-specific schedule = "Every 0 hour(s) and 15 minute(s), starting 7/17/2019 at 2:00 AM"&lt;/P&gt;&lt;P&gt;The "Cache refresh plans" section is blank.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In Report Server, running the dataset's "Load Preview" shows current\updated data.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The caching setup has created 3 SQL Agent Jobs on my SQL Server. If I go to SSMS and run this query in the BIReportServer database it shows that these schedules are running and updating as expected:&lt;/P&gt;&lt;PRE&gt;SELECT [job_id] as [SQL Agent Job ID]
,sj.[name] as SQLJob_Name
,cat.[Path]
,sched.[LastRunTime] as Schedules_LastRunTime
,sj.[enabled] as jobEnabled
,suser_sname([owner_sid]) as JobOwner_username
FROM [dbo].[Schedule] as sched
inner join [dbo].[Catalog] as CAT on cat.ItemID = sched.[EventData]
inner join [msdb].[dbo].[sysjobs] as sj on sj.name = CAST( sched.ScheduleID AS CHAR(36)) COLLATE SQL_Latin1_General_CP1_CI_AS 
left join msdb.dbo.syscategories as sc on sc.category_id =sj.category_id
left join msdb.dbo.sysoperators as op on op.id = sj.notify_email_operator_id
order by [Path]&lt;/PRE&gt;&lt;P&gt;My KPI properties are;&lt;BR /&gt;- Value = Dataset field &amp;gt; I click "..." and pick a column from one of the dataset described above.&lt;BR /&gt;- Goal = Not set&lt;BR /&gt;- Status = Set manually and is "0 (neutral)"&lt;BR /&gt;- Trend set = Dataset field &amp;gt; I click "..." and pick the same column as used in "Value".&lt;BR /&gt;- Visualization = I select the "line".&lt;BR /&gt;- Related content = I have a URL to a Power BI report that details this dataset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe that all of the dataset setup is correct and works fine. My reasoning is that if I:&lt;BR /&gt;1) go into "manage" a KPI to change it's properties&lt;BR /&gt;2) click "..." on either "Value" or "Trend set" that I have pointed to a dataset, and re-select the dataset &amp;amp; column,&lt;BR /&gt;when I click OK and return to the KPI properties page, the preview of the KPI will now be updated with the new value and trend line!&lt;BR /&gt;Click "Apply" and return to the Power BI Report Server home page and the KPI is showing the updated values.&lt;/P&gt;&lt;P&gt;The SSAS Cubes are only updated once a day, and each day the KPIs are still displaying the values they had when I last modified a KPI property.&lt;/P&gt;&lt;P&gt;I read this post from a year ago "KPI s fail to refresh sometimes - BUG"&lt;BR /&gt;&lt;A title="KPI s fail to refresh sometimes - BUG" href="https://community.powerbi.com/t5/Report-Server/KPI-s-fail-to-refresh-sometimes-BUG/m-p/207249" target="_blank" rel="noopener"&gt;https://community.powerbi.com/t5/Report-Server/KPI-s-fail-to-refresh-sometimes-BUG/m-p/207249&lt;/A&gt;&lt;BR /&gt;which a microsoft employee said "We will report this issue internally later. ".&lt;BR /&gt;Following that post someone else posted on Jan 4, 2018 that they had the same issue and were wondering if it has been fixed. Maybe I have the same issue?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe this is a similar issue here (this person's using Jan 2019 version) "&lt;SPAN&gt;Schedule Refresh is not working for newly published report after Report Server January 2019 upgrade"&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A title="Schedule Refresh is not working for newly published report after Report Server January 2019 upgrade" href="https://community.powerbi.com/t5/Report-Server/Schedule-Refresh-is-not-working-for-newly-published-report-after/m-p/740755#M10992" target="_self"&gt;https://community.powerbi.com/t5/Report-Server/Schedule-Refresh-is-not-working-for-newly-published-report-after/m-p/740755#M10992&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe I have missed a setting or service that needs to be enabled? I have not found any mention of this problem with KPIs anywhere else.&lt;/P&gt;&lt;P&gt;Hoping this detailed post will drum up a response (and fix?).&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2019 16:01:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/KPI-visual-connected-to-SSAS-MD-datasets-that-are-set-to-refresh/m-p/744629#M11025</guid>
      <dc:creator>Gourd_J</dc:creator>
      <dc:date>2019-07-19T16:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: KPI visual connected to SSAS MD datasets that are set to refresh are not refreshing.</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/KPI-visual-connected-to-SSAS-MD-datasets-that-are-set-to-refresh/m-p/745113#M11029</link>
      <description>&lt;P&gt;The "trick" with KPIs is that you need to setup a Cache Refresh Plan for the underlying dataset (the bit you've left blank), just setting the expiry will not work. (this is hidden in the documentation somewhere, but I missed it the first time I setup a KPI too)&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jul 2019 11:52:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/KPI-visual-connected-to-SSAS-MD-datasets-that-are-set-to-refresh/m-p/745113#M11029</guid>
      <dc:creator>d_gosbell</dc:creator>
      <dc:date>2019-07-21T11:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: KPI visual connected to SSAS MD datasets that are set to refresh are not refreshing.</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/KPI-visual-connected-to-SSAS-MD-datasets-that-are-set-to-refresh/m-p/746770#M11053</link>
      <description>&lt;P&gt;Thanks &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="109790" data-lia-user-login="d_gosbell" class="lia-mention lia-mention-user"&gt;d_gosbell&lt;/a&gt; worked perfect. I took it a step further and setup a site level schedule to use per dataset :)&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2019 13:44:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/KPI-visual-connected-to-SSAS-MD-datasets-that-are-set-to-refresh/m-p/746770#M11053</guid>
      <dc:creator>Gourd_J</dc:creator>
      <dc:date>2019-07-23T13:44:06Z</dc:date>
    </item>
  </channel>
</rss>

