<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" version="2.0">
  <channel>
    <title>altinoren.com - Vista</title>
    <link>http://altinoren.com/</link>
    <description>Gokhan Altinoren's Blog and Projects</description>
    <language>en-us</language>
    <copyright>Gokhan Altinoren</copyright>
    <lastBuildDate>Fri, 08 Dec 2006 23:00:36 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 2.3.9074.18820</generator>
    <managingEditor>gokhan@altinoren.com</managingEditor>
    <webMaster>gokhan@altinoren.com</webMaster>
    <item>
      <trackback:ping>http://altinoren.com/Trackback.aspx?guid=f91029bb-e07e-4a3d-adf7-f1e138cd48ff</trackback:ping>
      <pingback:server>http://altinoren.com/pingback.aspx</pingback:server>
      <pingback:target>http://altinoren.com/PermaLink,guid,f91029bb-e07e-4a3d-adf7-f1e138cd48ff.aspx</pingback:target>
      <dc:creator>Gokhan Altinoren</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <br />
At work, I'm devoting a fair amount of my time to SQL BI concepts lately. One of the
exciting concepts (there are many, believe me) of SSAS on SQL 2005 is Key Performance
Indicators. A KPI is the creme de la creme of all the data aggregations. It's the
final display of knowledge extracted from the vast amount of data to answer questions
like "Based on such and such criteria, are we profitable?".<br /><br /><img src="content/binary/kpi.png" border="0" /><br /><br />
Since KPIs are mostly for non-techies, it's best to display them in a dashboard like
scenario, where SharePoint is a good example. A handy newcomer in dashboard scene
is Vista Sidebar, and displaying KPI data on the Sidebar was the most logical exercise
for Sidebar development for me with the release of Vista:<br /><br /><img src="content/binary/kpi_sidebar.png" border="0" /><br /><br />
Without perfecting that, WPF/E came out and I wondered if I can display KPIs in a
Sidebar gadget using WPF/E. Result? I CAN'T. I don't know if it's the security settings
or is it the WPF'E engine's fault but, the javascript method in Loaded event does
not get called for a .xaml file if it's run in a Sidebar.<br /><br />
&lt;Canvas xmlns="http://schemas.microsoft.com/client/2007"<br />
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"<br />
    <b>Loaded="javascript:OnLoaded"</b>&gt;<br />
  &lt;Canvas x:Name="kpiCanvas" /&gt;<br />
&lt;/Canvas&gt;<br /><br />
Here's the code for the WPF/E thing (gadget? applet? app?). Note that, everything's
fine in IE:<br /><a href="content/binary/KPIDS.rar">KPIDS.rar (7.21 KB)</a><br /><p></p><img src="http://altinoren.com/content/binary/kpi_dashboard.png" border="0" /><br /><br />
Notes:<br /><ul><li>
WPF/E currently doesn't like .gif images in IMAGE tags. &lt;Image Source="star.png"
/&gt; is fine but  &lt;Image Source="star.gif" /&gt; fails without an error,
or it's the case for me.<br /></li><li>
I lost (accidentally overriden) the source for KPI sidebar gadget (the one without
WPF/E, two images above) but you can easily build one from the given source. Change
"createKPI" in kpiLibrary.js to render to html instead of xaml.</li><li>
createFromXaml is a nice method but, we'll have programmatic access to the object
model won't we?</li><li>
Although the current form of WPF/E is nice, I won't touch another CTP of it untill
I can code in C# against it. JavaScript is sooooo boooring.</li><li>
Follow the steps below to setup remote XMLA access to SSAS through web services. It's
required to access KPI data remotely:<br /><a href="http://www.microsoft.com/technet/prodtechnol/sql/2005/httpasws.mspx">Configuring
HTTP Access to SQL Server 2005 Analysis Services on Microsoft Windows Server 2003</a>. 
<br /></li></ul><img width="0" height="0" src="http://altinoren.com/aggbug.ashx?id=f91029bb-e07e-4a3d-adf7-f1e138cd48ff" /></body>
      <title>How to display SSAS KPIs with WPF/E</title>
      <guid isPermaLink="false">http://altinoren.com/PermaLink,guid,f91029bb-e07e-4a3d-adf7-f1e138cd48ff.aspx</guid>
      <link>http://altinoren.com/PermaLink,guid,f91029bb-e07e-4a3d-adf7-f1e138cd48ff.aspx</link>
      <pubDate>Fri, 08 Dec 2006 23:00:36 GMT</pubDate>
      <description>&lt;br&gt;
At work, I'm devoting a fair amount of my time to SQL BI concepts lately. One of the
exciting concepts (there are many, believe me) of SSAS on SQL 2005 is Key Performance
Indicators. A KPI is the creme de la creme of all the data aggregations. It's the
final display of knowledge extracted from the vast amount of data to answer questions
like "Based on such and such criteria, are we profitable?".&lt;br&gt;
&lt;br&gt;
&lt;img src="content/binary/kpi.png" border="0"&gt;
&lt;br&gt;
&lt;br&gt;
Since KPIs are mostly for non-techies, it's best to display them in a dashboard like
scenario, where SharePoint is a good example. A handy newcomer in dashboard scene
is Vista Sidebar, and displaying KPI data on the Sidebar was the most logical exercise
for Sidebar development for me with the release of Vista:&lt;br&gt;
&lt;br&gt;
&lt;img src="content/binary/kpi_sidebar.png" border="0"&gt;
&lt;br&gt;
&lt;br&gt;
Without perfecting that, WPF/E came out and I wondered if I can display KPIs in a
Sidebar gadget using WPF/E. Result? I CAN'T. I don't know if it's the security settings
or is it the WPF'E engine's fault but, the javascript method in Loaded event does
not get called for a .xaml file if it's run in a Sidebar.&lt;br&gt;
&lt;br&gt;
&amp;lt;Canvas xmlns="http://schemas.microsoft.com/client/2007"&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;b&gt;Loaded="javascript:OnLoaded"&lt;/b&gt;&amp;gt;&lt;br&gt;
&amp;nbsp; &amp;lt;Canvas x:Name="kpiCanvas" /&amp;gt;&lt;br&gt;
&amp;lt;/Canvas&amp;gt;&lt;br&gt;
&lt;br&gt;
Here's the code for the WPF/E thing (gadget? applet? app?). Note that, everything's
fine in IE:&lt;br&gt;
&lt;a href="content/binary/KPIDS.rar"&gt;KPIDS.rar (7.21 KB)&lt;/a&gt;
&lt;br&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img src="http://altinoren.com/content/binary/kpi_dashboard.png" border="0"&gt;
&lt;br&gt;
&lt;br&gt;
Notes:&lt;br&gt;
&lt;ul&gt;
&lt;li&gt;
WPF/E currently doesn't like .gif images in IMAGE tags. &amp;lt;Image Source="star.png"
/&amp;gt; is fine but&amp;nbsp; &amp;lt;Image Source="star.gif" /&amp;gt; fails without an error,
or it's the case for me.&lt;br&gt;
&lt;/li&gt;
&lt;li&gt;
I lost (accidentally overriden) the source for KPI sidebar gadget (the one without
WPF/E, two images above) but you can easily build one from the given source. Change
"createKPI" in kpiLibrary.js to render to html instead of xaml.&lt;/li&gt;
&lt;li&gt;
createFromXaml is a nice method but, we'll have programmatic access to the object
model won't we?&lt;/li&gt;
&lt;li&gt;
Although the current form of WPF/E is nice, I won't touch another CTP of it untill
I can code in C# against it. JavaScript is sooooo boooring.&lt;/li&gt;
&lt;li&gt;
Follow the steps below to setup remote XMLA access to SSAS through web services. It's
required to access KPI data remotely:&lt;br&gt;
&lt;a href="http://www.microsoft.com/technet/prodtechnol/sql/2005/httpasws.mspx"&gt;Configuring
HTTP Access to SQL Server 2005 Analysis Services on Microsoft Windows Server 2003&lt;/a&gt;. 
&lt;br&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;img width="0" height="0" src="http://altinoren.com/aggbug.ashx?id=f91029bb-e07e-4a3d-adf7-f1e138cd48ff" /&gt;</description>
      <category>KPI</category>
      <category>SQL BI</category>
      <category>SSAS</category>
      <category>Vista</category>
      <category>WPF/E</category>
    </item>
  </channel>
</rss>