<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>The Holy BIBLog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/theholybiblog/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/theholybiblog/feed.xml</link>
    <description>Problématiques et solutions sur l&amp;#039;utilisation de la suite BI Microsoft.</description>
    <lastBuildDate>Wed, 17 Apr 2019 03:48:30 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Tableau croisé dynamique à entrées multiples dans Power BI</title>
      <link>https://docs.microsoft.com/archive/blogs/theholybiblog/536</link>
      <pubDate>Thu, 06 Jul 2017 17:14:28 GMT</pubDate>
      <dc:creator><![CDATA[Ludovic Bouaziz]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/theholybiblog/?p=536</guid>
      <description><![CDATA[Après une longue période de silence, je vous propose un petit post intéressant. 
On m'a demandé il y...]]></description>
      <content:encoded><![CDATA[<p>Après une longue période de silence, je vous propose un petit post intéressant. 
</p><p>On m'a demandé il y a quelques jours de réaliser dans Power BI un Tableau croisé dynamique à multiples entrées. 
</p><p>On m'a adressé cette maquette. 
</p><p><img src="https://msdnshared.blob.core.windows.net/media/2017/07/070617_1715_Tableaucroi1.png" alt="" />
	</p><p>
 </p><p>Et un jeux de données sous Excel : 
</p><p><img src="https://msdnshared.blob.core.windows.net/media/2017/07/070617_1715_Tableaucroi2.png" alt="" />
	</p><p>
 </p><p>Le travail consiste donc à le réaliser dans Power BI. 
</p><ul><li>  Ouverture du fichier données dans Power BI, on sélectionne la table et on va aller modifier la requête : 
</li></ul><p><img src="https://msdnshared.blob.core.windows.net/media/2017/07/070617_1715_Tableaucroi3.png" alt="" />
	</p><p>
 </p><ul><li>On supprime le type modifié qui a traduit en automatique le 3-4 en 03/04/2017
</li><li><div> Dans la requête 1 (que je nomme TCD) on va faire en sorte de retrouver les mesures en ligne plutôt qu'en colonne afin de faciliter la constitution de ma table Pivot. 
</div><ul><li><div>Pour faire ça, on sélectionne les colonnes mesure 1 à 3 et on supprime le tableau croisé dynamique des colonnes. 
</div><p><img src="https://msdnshared.blob.core.windows.net/media/2017/07/070617_1715_Tableaucroi4.png" alt="" />
					</p></li></ul></li></ul><p>Ensuite on renomme les 2 colonnes pour avoir un label mesure et la valeur de la mesure  
</p><p><img src="https://msdnshared.blob.core.windows.net/media/2017/07/070617_1715_Tableaucroi5.png" alt="" />
	</p><p>
 </p><ul><li><div>Dans mon cas spécifique, j'ai besoin d'afficher une valeur en % du total donc je duplique la requête à ce niveau-là 
</div><p><img src="https://msdnshared.blob.core.windows.net/media/2017/07/070617_1715_Tableaucroi6.png" alt="" />
			</p></li><li><div>Dans la requête 2 je vais grouper les données pour avoir le total de chaque tranche par date et agence pour pouvoir calculer mon pourcentage dans Power Query .
</div><p><img src="https://msdnshared.blob.core.windows.net/media/2017/07/070617_1715_Tableaucroi7.png" alt="" />
			</p></li></ul><p>Dans l'assistant de regroupement je choisis les champs que je veux grouper. 
</p><p><img src="https://msdnshared.blob.core.windows.net/media/2017/07/070617_1715_Tableaucroi8.png" alt="" />
	</p><p>
 </p><ul><li><div>Je renomme la requête 2 en groupé et je la fusionne avec la requête initiale. 
</div><p><img src="https://msdnshared.blob.core.windows.net/media/2017/07/070617_1715_Tableaucroi9.png" alt="" />
			</p></li><li><div>En gardant la touche contrôle enfoncé je sélectionne les colonnes dans l'ordre pour créer ma jointure (notez le 1, 2,3 dans le nom des colonnes)
</div><p><img src="https://msdnshared.blob.core.windows.net/media/2017/07/070617_1715_Tableaucroi10.png" alt="" />
			</p></li><li><div>On sélectionne la colonne que l'on veut rajouter de la table jointe 
</div><p><img src="https://msdnshared.blob.core.windows.net/media/2017/07/070617_1715_Tableaucroi11.png" alt="" />
			</p></li><li><div>On ajoute une colonne personnalisée pour calculer le pourcentage 
</div><p><img src="https://msdnshared.blob.core.windows.net/media/2017/07/070617_1715_Tableaucroi12.png" alt="" />
			</p></li><li><div>On calcule la mesure de pourcentage 
</div><p><img src="https://msdnshared.blob.core.windows.net/media/2017/07/070617_1715_Tableaucroi13.png" alt="" />
			</p></li><li><div>On pratique un arrondi 
</div><p><img src="https://msdnshared.blob.core.windows.net/media/2017/07/070617_1715_Tableaucroi14.png" alt="" />
			</p></li><li>On veut maintenant avoir Valeur et pourcentage en ligne afin de les différencier dans mes calculs on sélectionne donc les 2 colonnes et supprime le tableau croisé dynamique des colonnes. 
</li></ul><p><img src="https://msdnshared.blob.core.windows.net/media/2017/07/070617_1715_Tableaucroi15.png" alt="" />
	</p><p>
 </p><ul><li>On renomme les colonnes en type calcul et valeur. On en a fini avec la partie préparation de données. 
</li><li>On ferme et on applique les changements. 
</li><li><div>Dans la partie visualisation on va choisir la nouvelle visualisation matrice (en prévisualisation au moment où j'écris ce post)
</div><p><img align="left" src="https://msdnshared.blob.core.windows.net/media/2017/07/070617_1715_Tableaucroi16.png" alt="" /><img align="left" src="https://msdnshared.blob.core.windows.net/media/2017/07/070617_1715_Tableaucroi17.png" alt="" /><img src="https://msdnshared.blob.core.windows.net/media/2017/07/070617_1715_Tableaucroi18.png" alt="" />
			</p></li><li><div>On glisse les champs de la manière suivante dans le graphique 
</div><p><img src="https://msdnshared.blob.core.windows.net/media/2017/07/070617_1715_Tableaucroi19.png" alt="" />
			</p></li></ul><p>
 </p><ul><li><img align="left" src="https://msdnshared.blob.core.windows.net/media/2017/07/070617_1715_Tableaucroi20.png" alt="" /><img align="left" src="https://msdnshared.blob.core.windows.net/media/2017/07/070617_1715_Tableaucroi21.png" alt="" />Dans le graphique on développe la hiérarchie en ligne : 
</li></ul><p><img align="left" src="https://msdnshared.blob.core.windows.net/media/2017/07/070617_1715_Tableaucroi22.png" alt="" /><img align="left" src="https://msdnshared.blob.core.windows.net/media/2017/07/070617_1715_Tableaucroi23.png" alt="" /><img src="https://msdnshared.blob.core.windows.net/media/2017/07/070617_1715_Tableaucroi24.png" alt="" />
	</p><ul><li><div>Ensuite on clique droit sur une colonne afin de développer également la hiérarchie des colonnes 
</div><p><img src="https://msdnshared.blob.core.windows.net/media/2017/07/070617_1715_Tableaucroi25.png" alt="" />
			</p></li><li>On s'attaque à la cosmétique du tableau dans la partie dédiée, on va d'abord supprimer les sous totaux en désactivant nombre total de lignes et nombre total de colonnes
</li></ul><p><img src="https://msdnshared.blob.core.windows.net/media/2017/07/070617_1715_Tableaucroi26.png" alt="" />
	</p><p>
 </p><ul><li>Ensuite on choisis un style pour la matrice 
</li></ul><p><img src="https://msdnshared.blob.core.windows.net/media/2017/07/070617_1715_Tableaucroi27.png" alt="" />
	</p><ul><li><div>Ensuite on va profiter d'une nouvelle fonction, au niveau de la valeur, on applique un formatage conditionnelle de type barres 
</div><p><img src="https://msdnshared.blob.core.windows.net/media/2017/07/070617_1715_Tableaucroi28.png" alt="" />
			</p></li></ul><p>
 </p><ul><li><div>On obtient ainsi ce TCD dans Power BI 
</div><p><img src="https://msdnshared.blob.core.windows.net/media/2017/07/070617_1715_Tableaucroi29.png" alt="" /></p></li></ul>]]></content:encoded>
    </item>
    <item>
      <title>TOP 10 dans Power BI Desktop</title>
      <link>https://docs.microsoft.com/archive/blogs/theholybiblog/top-10-dans-power-bi-desktop</link>
      <pubDate>Tue, 12 Apr 2016 00:02:36 GMT</pubDate>
      <dc:creator><![CDATA[Ludovic Bouaziz]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/theholybiblog/2016/04/12/top-10-dans-power-bi-desktop/</guid>
      <description><![CDATA[Dans Power BI Dekstop, on me demande souvent si on peut faire un TOP (ou un FLOP) dans les data...]]></description>
      <content:encoded><![CDATA[<p>Dans Power BI Dekstop, on me demande souvent si on peut faire un TOP (ou un FLOP) dans les data visualisation.</p>
<p>une solution consiste &agrave; cr&eacute;er pour cela une table additionnelle &agrave; l&#39;aide de Power BI dekstop.</p>
<p>1. aller dans la section donn&eacute;es de votre mod&egrave;le</p>
<p>2. dans l&#39;ongle Mod&eacute;lisation du ruban, cliquez sur Nouvelle table</p>
<p>3. on va mod&eacute;liser le probl&egrave;me en 2 &eacute;tapes, dans un premier temps on va cr&eacute;er une table group&eacute;e qui va nous faire le total par la cat&eacute;gorie et dans un second temps, on va utiliser cette table comme entr&eacute;e d&#39;une fonction de TOP.</p>
<p>4. pour l&#39;&eacute;tape 1, la fonction &agrave; utiliser est SUMMARIZE qui donne une table group&eacute;e par des param&egrave;tres :</p>
<p>Nom de la table = Summarize(</p>
<p>- param&egrave;tre 1 = nom de la table que l&#39;on veut r&eacute;sumer</p>
<p>- param&egrave;tre 2 &agrave; n &nbsp;= colonne &agrave; regrouper</p>
<p>- param&egrave;tre 3 &agrave; n = nom d&#39;une colonne personnalis&eacute;e correspondant &agrave; une expression</p>
<p>5. dans la formule, on va utiliser une fonction qui va nous retourner une table filtr&eacute;e</p>
<p>Nom de la Table = TOPN(</p>
<p>&nbsp;- param&egrave;tre 1 = le nombre de ligne en d&eacute;cimal</p>
<p>- param&egrave;tre 2 = la table sur laquelle on veut faire le TOP</p>
<p>- param&egrave;tre 3 = la colonne sur laquelle on veut faire le TOP</p>
<p>- param&egrave;tre 4 = le sens de l&#39;ordre (ASC = du plus petit au plus grand, DESC = du plus grand au plus petit)</p>
<p>)</p>
<p>6. Exemple, imaginons j&#39;ai une table Budget par pays et je veux les 5 pays qui ont le plus gros budgets</p>
<p>ma table Budget est compos&eacute;e des colonnes Pays et Budget</p>
<p></p>
<p>je cr&eacute;e donc ma nouvelle table r&eacute;sum&eacute;e :</p>
<p>Table r&eacute;sum&eacute;e= SUMMARIZE(&#39;Budget&#39;; &#39;Budget&#39;[Pays]; &quot;Budget_Amt&quot;; SUM(&#39;Budget&#39;[Budget]))</p>
<p>ensuite j&#39;utilise la fonction TOPN dans une nouvelle table</p>
<p>TOP 5 Pays = TOPN(5;&#39;Table r&eacute;sum&eacute;e&#39;;[Budget_Amt],DESC)</p>
<p>ou alors j&#39;imbrique les 2 fonctions :</p>
<p>TOP 5 Pays = TOPN(5;SUMMARIZE(&#39;Budget&#39;; &#39;Budget&#39;[Pays]; &quot;Budget_Amt&quot;; SUM(&#39;Budget&#39;[Budget]));[Budget_Amt],DESC)</p>
<p>et voila, je me retrouve bien avec les 5 plus gros budget par pays.</p>
<p></p>
<p></p>]]></content:encoded>
    </item>
    <item>
      <title>Introduction à Datazen</title>
      <link>https://docs.microsoft.com/archive/blogs/theholybiblog/introduction-datazen</link>
      <pubDate>Fri, 19 Jun 2015 01:06:00 GMT</pubDate>
      <dc:creator><![CDATA[Ludovic Bouaziz]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/theholybiblog/2015/06/19/introduction-datazen/</guid>
      <description><![CDATA[Introduction &agrave;&nbsp;Datazen
Tags : Datazen, Excel 2013
Objectifs : Je vais vous parler dans...]]></description>
      <content:encoded><![CDATA[<p lang="en-US"><span style="font-size:large;color:#ff6600;"><strong>Introduction &agrave;&nbsp;Datazen</strong></span></p>
<p lang="en-US"><span style="color:#ff6600;font-size:medium;"><strong>Tags</strong> </span>: <strong>Datazen, Excel 2013</strong></p>
<p><span style="color:#ff6600;font-size:medium;"><strong>Objectifs</strong> </span>: Je vais vous parler dans ce billet de la nouvelle offre Datazen&nbsp;r&eacute;cemment acquise par Microsoft, et je ferai un focus sur la partie cr&eacute;ation d&#39;un rapport &agrave; partir d&#39;un fichier local avec Datazen&nbsp;Publisher.<br />Datazen&nbsp;permet de r&eacute;pondre aux usages suivants :</p>
<ul>
<li>Cr&eacute;ation de tableaux de bord optimis&eacute;s pour de la BI Mobile</li>
<li><span>Ergonomie pour un utilisateur m&eacute;tier au travers de l&#39;usage tactile</span></li>
<li><span>Richesse des actions et des visualisations. Vision locale offline ou temps r&eacute;el</span></li>
<li><span>Diffusion &agrave; l&#39;aide d&#39;un serveur et gestion am&eacute;lior&eacute;e des droits et des acc&egrave;s.</span></li>
</ul>
<p>&nbsp;</p>
<p><span style="color:#ff6600;font-size:medium;"><strong>Description du jeux de donn&eacute;es :</strong></span></p>
<p>Je prends mon fichier Analyse fruit.&nbsp; <br />Ce fichier est une analyse des productions de fruits et l&eacute;gumes durant les 50 derni&egrave;res ann&eacute;es que j&#39;ai construit &agrave; l&#39;aide du site <a title="Faostat" href="https://faostat3.fao.org/home/E">FAOSTAT </a>&nbsp;qui regroupe des donn&eacute;es statistiques en open data.<br />Il s&#39;agit d&#39;un mod&egrave;le en &eacute;toile comprenant une table de fait et plusieurs dimensions que j&#39;ai r&eacute;alis&eacute; &agrave; l&#39;aide des Power Tools d&#39;Excel 2013 (Power Pivot, Power Query).<br />Le mod&egrave;le Power Pivot est le suivant :</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/DZ_1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/DZ_5F00_1.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/DZ_1.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/DZ_5F00_1.png" border="0" /></a></p>
<p>&Agrave; partir de ce mod&egrave;le, dans le classeur Excel, je vais r&eacute;aliser un Tableau crois&eacute; dynamique.<br />l&#39;id&eacute;e est de pr&eacute;parer un jeu de donn&eacute;es avec un champs date complet, une ou plusieurs cat&eacute;gories et&nbsp; une ou plusieurs mesures et des donn&eacute;es d&#39;&eacute;volution ou de comparaison.<br />On fait donc dans Excel un tableau crois&eacute; aplati bas&eacute; sur ce mod&egrave;le de donn&eacute;es dans feuille Excel existante.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/DZ_2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/DZ_5F00_2.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/DZ_2.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/DZ_5F00_2.png" border="0" /></a></p>
<p>&nbsp;Attention il est tr&egrave;s important de commencer le TCD dans la feuille &agrave; la cellule A1:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/DZ_3.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/DZ_5F00_3.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/DZ_3.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/DZ_5F00_3.png" border="0" /><br /></a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/DZ_4.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/DZ_5F00_4.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/DZ_4.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/DZ_5F00_4.png" border="0" /></a></p>
<p>Et on obtient une table</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/DZ_5.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/DZ_5F00_5.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/DZ_5.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/DZ_5F00_5.png" border="0" /></a></p>
<p><span style="font-size:medium;"><strong style="color:#ff9900;">Datazen Publisher et Datazen viewer</strong></span></p>
<p>Datazen est une application de type client/server.<br />Il se d&eacute;cline en 2 applications clientes et une application serveur.<br />La partie serveur s&#39;installe sur un serveur et permet de g&eacute;rer les droits et et les connexions &agrave; des sources de donn&eacute;es distantes, je vous invite &agrave; aller voir le <a title="blog de mon ami Franck Mercier" href="/b/franmer/archive/2015/06/26/datazen-enterprise-dans-une-machine-virtuelle-azure.aspx" target="_blank">blog de mon ami Franck Mercier</a> &agrave; ce sujet : <span style="font-size:small;"><span style="font-size:small;"></span></span></p>
<p>).</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/DZ_6.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/DZ_5F00_6.png"><img width="155" height="86" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/DZ_6.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/DZ_5F00_6.png" border="0" /></a></p>
<p>Au niveau client, il existe Datazen Publisher qui permet de d&eacute;velopper des tableaux de bord et Datazen Viewer qui permet de visualiser des tableaux de bords. Le Datazen Viewer est disponible sur Android Market, AppStore (&agrave; partir de IOS 7), et Windows Store (pour Windows 8). De plus la partie Viewer diffus&eacute; par Datazen Server est accessible via un portail Web accessible depuis n&#39;importe quel navigateur.<br />La partie Publisher n&#39;est disponible pour le moment que dans le Windows Store de Windows 8.</p>
<p><span style="font-size:medium;color:#ff6600;"><strong>Cr&eacute;ation d&#39;un tableau de bord avec Datazen</strong> :&nbsp;</span></p>
<p>Lors de l&#39;ouverture de datazen publisher, on peut cr&eacute;er un dashboard en allant dans les options de l&#39;outil, (... Commandes de l&#39;application)</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/DZ_7.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/DZ_5F00_7.png"><img width="272" height="142" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/DZ_7.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/DZ_5F00_7.png" border="0" /></a></p>
<p>&nbsp;et dans la barre d&#39;option en bas, on choisis Create.</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/DZ_8.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/DZ_5F00_8.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/DZ_8.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/DZ_5F00_8.png" border="0" /></a></p>
<p>&nbsp;On choisis ensuite de cr&eacute;er un tableau de bord vide mais on aurait pu se baser sur un rapport existant :</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/DZ_9.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/DZ_5F00_9.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/DZ_9.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/DZ_5F00_9.png" border="0" /></a></p>
<p><span style="color:#ff6600;font-size:medium;"><strong>Description de l&#39;interface de d&eacute;veloppement</strong></span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/2068.DZ_10.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/2068.DZ_5F00_10.png"><img width="690" height="413" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/2068.DZ_10.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/2068.DZ_5F00_10.png" border="0" /></a></p>
<p>Quand on glisse un objet sur la grille de d&eacute;veloppement, on a la possibilit&eacute; en utilisant le bouton data view dans l&#39;onglet de d&eacute;veloppement de s&eacute;lectionner les donn&eacute;es que l&#39;on veut utiliser.<br />Par d&eacute;faut, Datazen cr&eacute;e une table de donn&eacute;es de test pour nous donner un visuel.</p>
<p>En haut &agrave; droite se trouve des boutons qui vont nous permettre d&#39;interagir avec les donn&eacute;es :</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/DZ_11.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/DZ_5F00_11.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/DZ_11.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/DZ_5F00_11.png" border="0" /></a></p>
<p>On choisit Add Data et on choisit le fichier local que l&#39;on aura pr&eacute;par&eacute;.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/DZ_12.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/DZ_5F00_12.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/DZ_12.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/DZ_5F00_12.png" border="0" /></a><br />On s&eacute;lectionne la feuille du tableau crois&eacute; dynamique aplati pr&eacute;c&eacute;demment cr&eacute;&eacute;e et les donn&eacute;es apparaissent dans Datazen.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/DZ_13.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/DZ_5F00_13.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/DZ_13.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/DZ_5F00_13.png" border="0" /></a></p>
<p>Datazen identifie le champ date et les champs de type filtres en mettant des ic&ocirc;nes particuli&egrave;res sur les ent&ecirc;tes.</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/DZ_14.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/DZ_5F00_14.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/DZ_14.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/DZ_5F00_14.png" border="0" /></a></p>
<p>Une fois les donn&eacute;es extraites du fichier local, il suffit de les associer &agrave; une visualisation en allant mapper les colonnes dans les propri&eacute;t&eacute;s de l&#39;objet s&eacute;lectionn&eacute;. Des donn&eacute;es correspondent &agrave; la cl&eacute;, et d&#39;autres aux valeurs.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/3438.DZ_15.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/3438.DZ_5F00_15.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/3438.DZ_15.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/3438.DZ_5F00_15.png" border="0" /></a>&nbsp;</p>
<p>Parfois dans d&#39;autres visualisations on pourra associer plusieurs valeurs pour des s&eacute;ries :</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/DZ_16.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/DZ_5F00_16.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/DZ_16.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/DZ_5F00_16.png" border="0" /></a>&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/DZ_17.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/DZ_5F00_17.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/DZ_17.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/DZ_5F00_17.png" border="0" /></a></p>
<p>&nbsp;On peut &eacute;galement visualiser des comparaisons et des ratios :</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/DZ_18.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/DZ_5F00_18.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/DZ_18.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/DZ_5F00_18.png" border="0" /></a></p>
<p>&nbsp;On peut ensuite lancer une pr&eacute;visualisation via le bouton correspondant dans l&#39;onglet de d&eacute;veloppement.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/DZ_19.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/DZ_5F00_19.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/DZ_19.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/DZ_5F00_19.png" border="0" /></a></p>
<p>&nbsp;et admirer le r&eacute;sultat</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/0167.DZ_20.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/0167.DZ_5F00_20.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/0167.DZ_20.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/0167.DZ_5F00_20.png" border="0" /></a></p>]]></content:encoded>
    </item>
    <item>
      <title>Rafraichir un fichier Excel dans le portail Power BI Public Preview grâce à OneDrive for business</title>
      <link>https://docs.microsoft.com/archive/blogs/theholybiblog/rafraichir-un-fichier-excel-dans-le-portail-power-bi-public-preview-grce-onedrive-for-business</link>
      <pubDate>Fri, 09 Jan 2015 08:42:49 GMT</pubDate>
      <dc:creator><![CDATA[Ludovic Bouaziz]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/theholybiblog/2015/01/09/rafraichir-un-fichier-excel-dans-le-portail-power-bi-public-preview-grce-onedrive-for-business/</guid>
      <description><![CDATA[Un des nouveaux usages qui arrive avec l&#39;utilisation de ce que l&#39;on a d&eacute;j&agrave;...]]></description>
      <content:encoded><![CDATA[<p>Un des nouveaux usages qui arrive avec l&#39;utilisation de ce que l&#39;on a d&eacute;j&agrave; fait dans Excel Power suite (Power Query, Power Pivot, Power View) qui me semble vraiment g&eacute;nial est la possibilit&eacute; de rafraichir un fichier Excel Power Pivot en l&#39;utilisant conjointement avec OneDrive for Business.<br />En effet, auparavant, quand je d&eacute;veloppais un rapport fait &agrave; partir d&#39;Excel, mon seul moyen pour rafraichir &eacute;tait d&#39;identifier les sources de donn&eacute;es sous-jacentes au fichier Excel, et de planifier au travers d&#39;une passerelle le rafraichissement de ces sources.<br />Voyons comment r&eacute;aliser ce m&eacute;canisme avec Excel et le portail Power BI Public Preview</p>
<p><span style="text-decoration:underline;">Etape 1 - Cr&eacute;ation du fichier Power Pivot sur tables li&eacute;es.<br /></span>Je fais un fichier Excel dans lequel je mets une table de fait et une ou plusieurs dimensions, le tout r&eacute;alis&eacute;s avec des tables li&eacute;es.<br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/PBI%20Refresh%201.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/PBI-Refresh-1.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/PBI%20Refresh%201.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/PBI-Refresh-1.png" border="0" /></a><br />Je clique ensuite dans le bandeau Power BI pour ajouter la table en tant que table li&eacute;e :<br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/PBI%20Refresh%202.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/PBI-Refresh-2.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/PBI%20Refresh%202.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/PBI-Refresh-2.png" border="0" /></a><br />Dans Power Pivot, j&#39;identifie l&#39;ensemble de mes tables li&eacute;es gr&acirc;ce au maillon de chaine situ&eacute; dans l&#39;onglet de chaque table.<br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/PBI%20Refresh%204.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/PBI-Refresh-4.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/PBI%20Refresh%204.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/PBI-Refresh-4.png" border="0" /></a><br />Et je mod&eacute;lise dans la vision diagramme.<br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/PBI%20Refresh%205.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/PBI-Refresh-5.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/PBI%20Refresh%205.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/PBI-Refresh-5.png" border="0" /></a><br />J&#39;enregistre le fichier dans mon One Drive for Business<br /><br /><span style="text-decoration:underline;">Etape 2 - Cr&eacute;ation du DataSet dans le portail Power BI Public Preview.<br /></span>&Agrave; partir du portail Power BI Public Preview, j&#39;ajoute un nouveau Data Set en cliquant sur le + pr&egrave;s de la rubrique DataSets<br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/PBI%20Refresh%206.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/PBI-Refresh-6.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/PBI%20Refresh%206.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/PBI-Refresh-6.png" border="0" /></a><br />Je choisis la source Excel :<br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/PBI%20Refresh%207.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/PBI-Refresh-7.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/PBI%20Refresh%207.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/PBI-Refresh-7.png" border="0" /></a><br />Et je s&eacute;lectionne le fichier qui se trouve dans mon OneDrive - Business :<br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/PBI%20Refresh%208.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/PBI-Refresh-8.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/PBI%20Refresh%208.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/PBI-Refresh-8.png" border="0" /></a><br /><br /><span style="text-decoration:underline;">Etape 3 - Cr&eacute;ation du rapport dans le portail Power BI Public Preview.<br /></span>En me placant sur le DataSet nouvellement cr&eacute;e, je choisis Explore afin de d&eacute;velopper un rapport :<br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/PBI%20Refresh%209.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/PBI-Refresh-9.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/PBI%20Refresh%209.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/PBI-Refresh-9.png" border="0" /></a><br />J&#39;arrive dans une interface Web qui ressemble &agrave; l&#39;interface de l&#39;outil Power BI Designer et je d&eacute;veloppe un rapport bas&eacute; sur les donn&eacute;es du dataset :<br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/PBI%20Refresh%2010.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/PBI-Refresh-10.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/PBI%20Refresh%2010.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/PBI-Refresh-10.png" border="0" /></a><br />Je sauvegarde ce nouveau rapport :<br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/PBI%20Refresh%2011.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/PBI-Refresh-11.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/PBI%20Refresh%2011.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/PBI-Refresh-11.png" border="0" /></a><br /><br /><span style="text-decoration:underline;">Etape 4 - Mise &agrave; jour du mod&egrave;le de donn&eacute;es dans Excel.<br /></span>Je vais dans mon dossier sur OneDrive for Business et je modifie le fichier Excel :<br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/PBI%20Refresh%2012.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/PBI-Refresh-12.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/PBI%20Refresh%2012.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/PBI-Refresh-12.png" border="0" /></a><br />Je rajoute au niveau de ma table de fait des informations :<br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/PBI%20Refresh%2013.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/PBI-Refresh-13.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/PBI%20Refresh%2013.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/PBI-Refresh-13.png" border="0" /></a><br />Dans l&#39;onglet Power Pivot du fichier Excel, je mets &agrave; jour le mod&egrave;le Power Pivot :<br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/PBI%20Refresh%2014.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/PBI-Refresh-14.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/PBI%20Refresh%2014.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/PBI-Refresh-14.png" border="0" /></a><br /><br /><span style="text-decoration:underline;">Etape 5 - Rafraichissement des donn&eacute;es dans le portail Power BI Public Preview.<br /></span>Il existe deux moyens de rafraichissement d&#39;une source Excel dans le portail et je vais choisir le rafraichissement ponctuel.<span style="text-decoration:underline;"><br /><br /></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/PBI%20Refresh%2015.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/PBI-Refresh-15.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/PBI%20Refresh%2015.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/PBI-Refresh-15.png" border="0" /></a><br /><br /></p>
<p><span style="text-decoration:underline;">Etape 6 - V&eacute;rification du changement de donn&eacute;es dans le rapport.<br /></span>J&#39;ouvre le rapport fait pr&eacute;c&eacute;demment afin de constater les modifications (sur la courbe du bas et sur les totaux en passant la souris dessus).<br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/PBI%20Refresh%2016.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/PBI-Refresh-16.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/PBI%20Refresh%2016.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/PBI-Refresh-16.png" border="0" /></a><br /><br /><span style="text-decoration:underline;">Conclusions<br /></span>En terme de cas m&eacute;tier, on peut maintenant imaginer qu&#39;une personne de mon entreprise (un Business Analyst) va cr&eacute;er un mod&egrave;le de donn&eacute;es &agrave; l&#39;aide d&#39;Excel et le mettre &agrave; disposition dans portail Power BI Public Preview au travers d&#39;un dataset. Il y appliquera ensuite un plan de rafraichissement, par exemple toutes les nuits entre 2h et 4h du matin.<br />Un autre utilisateur sera en charge de d&eacute;velopper des rapports bas&eacute;s sur ce dataset dans le portail Power BI Public Preview. <br />Le business Analyst pourra alors modifier le mod&egrave;le de donn&eacute;es, l&#39;enrichir, ajouter des nouvelles donn&eacute;es et elles seront accessibles aux utilisateurs finaux sans modification des rapports ou sans actions additionnelles. <br />De plus, ces m&ecirc;mes utilisateurs n&#39;auront pas &agrave; rentrer dans la complexit&eacute; de cr&eacute;ation du mod&egrave;le de donn&eacute;es ou de rapatriement des donn&eacute;es &agrave; partir des diff&eacute;rentes bases de donn&eacute;es.</p>]]></content:encoded>
    </item>
    <item>
      <title>Power BI Designer, l'outil gratuit pour faire de la BI avec le portail Power BI</title>
      <link>https://docs.microsoft.com/archive/blogs/theholybiblog/power-bi-designer-loutil-gratuit-pour-faire-de-la-bi-avec-le-portail-power-bi</link>
      <pubDate>Thu, 08 Jan 2015 09:59:00 GMT</pubDate>
      <dc:creator><![CDATA[Ludovic Bouaziz]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/theholybiblog/2015/01/08/power-bi-designer-loutil-gratuit-pour-faire-de-la-bi-avec-le-portail-power-bi/</guid>
      <description><![CDATA[Power BI Designer est le nouvel outil de d&eacute;veloppement issu du portail Power BI et vous...]]></description>
      <content:encoded><![CDATA[<div style="direction:ltr;">
<p style="margin:0in;font-family:Calibri;font-size:11pt;">Power BI Designer est le nouvel outil de d&eacute;veloppement issu du portail Power BI et vous verrez que par bien des aspects, il va vous permettre de vous faciliter le d&eacute;veloppement de tableau de bord.&nbsp;</p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;">Pour commencer, il faut installer le logiciel Microsoft Power BI Designer, pour cela il existe comme toujours plusieurs options&nbsp;</p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;">Option 1 :</p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;">Allez sur le lien suivant pour t&eacute;l&eacute;charger l&#39;outil :</p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;"><a href="https://www.microsoft.com/en-us/download/details.aspx?id=45331&amp;WT.mc_id=rss_alldownloads_all">https://www.microsoft.com/en-us/download/details.aspx?id=45331&amp;WT.mc_id=rss_alldownloads_all</a></p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;">Option 2 :</p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;">&Agrave; partir du portail Power BI cliquez sur le lien de gauche Datasets et le petit plus &agrave; cot&eacute; pour lui indiquer que l&#39;on souhaite faire un nouveau dataset.</p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;">Ensuite dans les sources disponibles, choisissez Power BI Designer File et dans la page cliquez sur le lien de t&eacute;l&eacute;chargement.</p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/Image001.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/Image001.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/Image001.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/Image001.png" border="0" /></a>&nbsp;<br />Attention, il faut &agrave; ce niveau-l&agrave; des droits d&#39;installation afin d&#39;installer le logiciel qui est t&eacute;l&eacute;charg&eacute; &nbsp;en tant que package msi.</p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/Image002.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/Image002.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/Image002.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/Image002.png" border="0" /></a><br />Une fois l&#39;outil install&eacute; la premi&egrave;re page propose des tutoriaux sous la forme de vid&eacute;o en anglais.<br />La premi&egrave;re &eacute;tape consiste donc comme dans n&#39;importe quel outil d&eacute;cisionnel &agrave; connecter ses donn&eacute;es.</p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;">On retrouve l&#39;ensemble des sources de donn&eacute;es qui &eacute;taient disponibles dans Power Query :</p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/Image003.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/Image003.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/Image003.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/Image003.png" border="0" /></a></p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;"><br />Dans mon cas, je choisis de me connecter &agrave; un fichier Excel.</p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;">Dans un premier temps, l&#39;outil me permet de s&eacute;lectionner une ou plusieurs feuilles du fichier.</p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/Image004.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/Image004.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/Image004.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/Image004.png" border="0" /></a><br />Comme dans Power Query, on peut &eacute;diter la requ&ecirc;te ou la charger directement.</p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/Image005.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/Image005.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/Image005.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/Image005.png" border="0" /></a></p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;">Une fois la requ&ecirc;te r&eacute;alis&eacute;e pour inclure l&#39;ensemble des transformations, il ne reste qu&#39;&agrave; cliquer sur Report dans le coin inf&eacute;rieur gauche de l&#39;application pour charger la requ&ecirc;te dans la liste de champs.</p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/Image006.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/Image006.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/Image006.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/Image006.png" border="0" /></a></p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;">Une fois toutes les requ&ecirc;tes r&eacute;alis&eacute;es, on peut aller g&eacute;rer la mod&eacute;lisation en cliquant sur le bouton Manage Relationship &agrave; droite du ruban.</p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/Image007.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/Image007.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/Image007.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/Image007.png" border="0" /></a>&nbsp;&nbsp;</p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;">Arriv&eacute; sur l&#39;&eacute;cran de gestion des relations, il est possible simplement de d&eacute;finir une relation entre une table et une autre ou alors de d&eacute;tecter de mani&egrave;re automatique les relations (de mani&egrave;re associative).</p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;">De plus dans les r&egrave;gles avanc&eacute;es on notera la possibilit&eacute; d&#39;indiquer des relations multidirectionnelles ou &agrave; direction unique. (par exemple pour du many to many ou (n,m)).</p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/Image008.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/Image008.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/Image008.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/Image008.png" border="0" /></a></p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;">Il est ensuite possible de faire des dashboards en cliquant sur les diff&eacute;rents champs et en choisissant le type de graphique.</p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;">Enfin, on notera l&#39;arriv&eacute;e de plusieurs types de graphique qui manquaient sur les versions pr&eacute;c&eacute;dentes come la pyramide des &acirc;ges ou la jauge par exemple.</p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/Image009.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/Image009.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/Image009.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/Image009.png" border="0" /></a></p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;"></p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;">Le projet complet est sauvegardable sous la forme d&#39;un fichier *.pbix et il peut ensuite &ecirc;tre utilis&eacute; dans le portail Power BI nouvelle mouture soit en utilisant le mod&egrave;le avec Q&amp;A et en ajouant les r&eacute;sultats des questions sous la forme de tuiles :</p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/Image010.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/Image010.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/Image010.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/Image010.png" border="0" /></a></p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;"></p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;">ou encore en mettant le rapport dans un portail contenant un certain nombre de rapports :</p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/Image011.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/Image011.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/Image011.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/Image011.png" border="0" /></a></p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;"></p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;">Notons que de cliquer sur un rapport permet de le visualiser en int&eacute;gralit&eacute; et de jouer avec les filtres comme avec Power View dans Excel</p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/Image012.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/Image012.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/Image012.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/Image012.png" border="0" /></a></p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;">et qu&#39;on peut &eacute;galement modifier le rapport pour en cr&eacute;er une nouvelle version en se basant sur les donn&eacute;es qu&#39;il renferme.</p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;"></p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/Image013.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/Image013.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/Image013.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/Image013.png" border="0" /></a></p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;"></p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;">Pour aller plus loin, vous pouvez aller visiter le site officiel :</p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;">https://www.microsoft.com/en-us/powerBI/bi-blog.aspx?blog=91d46819-8472-40ad-a661-2c78acb4018c%3A10580950</p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;"></p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;"></p>
</div>]]></content:encoded>
    </item>
    <item>
      <title>Trier une colonne alphanumérique avec Power View</title>
      <link>https://docs.microsoft.com/archive/blogs/theholybiblog/trier-une-colonne-alphanumrique-avec-power-view</link>
      <pubDate>Tue, 07 Oct 2014 03:14:25 GMT</pubDate>
      <dc:creator><![CDATA[Ludovic Bouaziz]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/theholybiblog/2014/10/07/trier-une-colonne-alphanumrique-avec-power-view/</guid>
      <description><![CDATA[Temps de pr&eacute;paration : 10 minutesNiveau&nbsp;: Tr&egrave;s FacileProbl&eacute;matique : Dans...]]></description>
      <content:encoded><![CDATA[<p><span style="font-size:medium;"><b><span style="font-family:Calibri;">Temps de pr&eacute;paration : 10 minutes<br /></span></b></span><span style="font-family:Calibri;"><span style="font-size:medium;">Niveau&nbsp;: Tr&egrave;s Facile</span><br /></span><span style="font-family:Calibri;"><span style="font-size:medium;"><b>Probl&eacute;matique</b> : Dans ce billet, j&rsquo;&eacute;voque le tri d&rsquo;une colonne alpha num&eacute;rique avec un ordre personnalis&eacute; diff&eacute;rent de l&rsquo;ordre alphab&eacute;tique.<br /></span></span><span style="font-size:medium;"><span style="font-family:Calibri;"><b>Ingr&eacute;dients (pour 1 personne) :</b> <br /></span><span style="font-family:Calibri;">- Excel 2013 <br /></span><span style="font-family:Calibri;">- 1 table de fait, 1 table de date&nbsp;<br /></span><b><span style="font-family:Calibri;">Recette :<br /></span></b></span><span style="font-family:Calibri;"><span style="font-size:medium;">Je dispose de ce mod&egrave;le</span><br /><br /></span><span style="font-family:Calibri;font-size:medium;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/alphaorder_1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/alphaorder_5F00_1.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/alphaorder_1.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/alphaorder_5F00_1.png" border="0" /></a></span></p>
<p><span style="font-family:Calibri;"><span style="font-size:medium;">Les donn&eacute;es que j&rsquo;y trouve :</span> <br /><br /> </span><span style="font-family:Calibri;font-size:medium;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/AlphaOrder_2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/AlphaOrder_5F00_2.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/AlphaOrder_2.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/AlphaOrder_5F00_2.png" border="0" /></a><br /></span><span style="font-family:Calibri;"><br /></span><span style="font-family:Calibri;"> </span><span style="font-family:Calibri;"><span style="font-size:medium;">Le probl&egrave;me est le suivant&nbsp;: </span><br /><span style="font-size:medium;"> Si je fais un Power View je ne peux pas classer les r&eacute;ponses autrement que dans l&rsquo;ordre alphab&eacute;tique&nbsp;: </span><br /><br /> </span><span style="font-family:Calibri;font-size:medium;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/AlphaOrder_3.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/AlphaOrder_5F00_3.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/AlphaOrder_3.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/AlphaOrder_5F00_3.png" border="0" /></a><br /><br /> </span><span style="font-family:Calibri;font-size:medium;">Pour corriger ca&nbsp;j</span><span style="font-family:Calibri;"><span style="font-size:medium;">&rsquo;ajoute une table &agrave; mon mod&egrave;le de donn&eacute;es que je nomme Dim_R&eacute;ponses qui &agrave; la structure et le contenu suivant&nbsp;:</span><br /><br /> </span><span style="font-family:Calibri;font-size:medium;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/AlphaOrder_4.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/AlphaOrder_5F00_4.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/AlphaOrder_4.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/AlphaOrder_5F00_4.png" border="0" /></a><br /><br /> </span><span style="font-family:Calibri;"><span style="font-size:medium;">Ensuite, je cr&eacute;er une relation entre ma table de fait et cette dimension&nbsp;en mode diagramme&nbsp;:</span> </span></p>
<p><span style="font-family:Calibri;"><br /> </span><span style="font-family:Calibri;font-size:medium;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/AlphaOrder_5.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/AlphaOrder_5F00_5.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/AlphaOrder_5.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/AlphaOrder_5F00_5.png" border="0" /></a><br /> </span><span style="font-family:Calibri;font-size:medium;">Je vais dans la table de fait et j&rsquo;ajoute une nouvelle colonne que je nome Index &nbsp;avec la formule suivante <br /> = related(Dim_Reponses[Index])</span><br /><span style="font-family:Calibri;"><span style="font-size:medium;"> Je change l&rsquo;ordre de tri de la colonne R&eacute;ponses de ma table fact_questions avec cette nouvelle colonne:</span> <br /><br /> </span><span style="font-family:Calibri;font-size:medium;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/AlphaOrder_6.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/AlphaOrder_5F00_6.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/AlphaOrder_6.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/AlphaOrder_5F00_6.png" border="0" /></a><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/AlphaOrder_7.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/AlphaOrder_5F00_7.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/AlphaOrder_7.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/AlphaOrder_5F00_7.png" border="0" /></a><br /> </span><span style="font-family:Calibri;"><br /></span><span style="font-family:Calibri;"><span style="font-size:medium;">Enfin, je masque la table Dim_R&eacute;ponse dans les outils clients afin qu&rsquo;elle ne soit pas accessible par mes utilisateurs lors de leur conception de rapports.</span><br /><br />&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/3302.AlphaOrder_8.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/3302.AlphaOrder_5F00_8.png"></a><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/AlphaOrder_9.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/AlphaOrder_5F00_9.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/AlphaOrder_9.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/AlphaOrder_5F00_9.png" border="0" /></a><span style="font-size:medium;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/AlphaOrder_8.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/AlphaOrder_5F00_8.png"></a></span></span></p>
<p><span style="font-family:Calibri;"><span style="font-size:medium;">J&#39;obtiens donc le bon ordre de tri :</span><span style="font-size:medium;"> <br /></span></span></p>
<p><span style="font-family:Calibri;"><span style="font-size:medium;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/3302.AlphaOrder_8.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/3302.AlphaOrder_5F00_8.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/3302.AlphaOrder_8.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/3302.AlphaOrder_5F00_8.png" border="0" /></a><br /></span></span></p>
<p></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/01/10290/00/00/03/63/89/52/AlphaOrder.xlsx" original-url="https://blogs.technet.com/cfs-filesystemfile.ashx/__key/telligent-evolution-components-attachments/01-10290-00-00-03-63-89-52/AlphaOrder.xlsx">AlphaOrder.xlsx</a></p>]]></content:encoded>
    </item>
    <item>
      <title>Comment activer Power BI Sur Office 365</title>
      <link>https://docs.microsoft.com/archive/blogs/theholybiblog/comment-activer-power-bi-sur-office-365</link>
      <pubDate>Tue, 02 Sep 2014 08:26:07 GMT</pubDate>
      <dc:creator><![CDATA[Ludovic Bouaziz]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/theholybiblog/2014/09/02/comment-activer-power-bi-sur-office-365/</guid>
      <description><![CDATA[Comment activer Power BI Sur Office 365Power BI&nbsp;- FacileTags : Power BI&nbsp;; Office...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family:arial,helvetica,sans-serif;"><span style="color:#ff9900;font-size:x-large;"><b><span>Comment activer Power BI Sur Office 365<br /></span></b></span>Power BI&nbsp;- Facile</span><br /><span style="font-family:arial,helvetica,sans-serif;">Tags : <b><span style="font-size:medium;">Power BI&nbsp;; Office 365&nbsp;; Administration<br /></span></b><span style="color:#ff9900;"><b>Temps de pr&eacute;paration : 5 minutes</b></span></span></p>
<p><span style="font-family:arial,helvetica,sans-serif;background-color:#c0c0c0;"><span style="font-size:medium;"><b>Probl&eacute;matique</b> : Pour ce premier billet de rentr&eacute;e, je vous propose de r&eacute;pondre &agrave; une question que l&rsquo;on me pose fr&eacute;quemment. Il n&rsquo;y a pas de r&eacute;elle complexit&eacute; technique mais parfois chercher simplement l&rsquo;information est consommateur de temps.&nbsp;&nbsp;</span></span></p>
<p><span style="font-family:arial,helvetica,sans-serif;"><span style="color:#ff9900;"><b>Ingr&eacute;dients (pour 1 personne) :<br /></b></span>- 1 tenant Office 365 en E3 ou E4 minimum ou SharePoint Online Plan 2</span><br /><span style="font-family:arial,helvetica,sans-serif;">- l&rsquo;acc&egrave;s en tant qu&rsquo;administrateur&nbsp;</span></p>
<p><span style="font-family:arial,helvetica,sans-serif;"><b>Recette :<br /></b></span></p>
<p><span style="font-family:arial,helvetica,sans-serif;font-size:small;">Dans un premier temps connectez-vous &agrave; votre tenant Office 365 en tant qu&rsquo;administrateur du portail.</span><br /><span style="font-family:arial,helvetica,sans-serif;font-size:small;">Sur le menu de gauche, cliquez sur Acheter des services<br /></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/ActivPBI_1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/ActivPBI_5F00_1.png"><img width="279" height="487" style="width:117px;height:244px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/ActivPBI_1.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/ActivPBI_5F00_1.png" border="0" /></a><br /><span style="font-family:arial,helvetica,sans-serif;font-size:small;">Ensuite allez cherche le service &agrave; acheter (ou &eacute;valuer)</span></p>
<p><span style="font-family:arial,helvetica,sans-serif;font-size:small;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/ActivPBI_1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/ActivPBI_5F00_1.png"></a><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/ActivPBI_0.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/ActivPBI_5F00_0.png"><img width="439" height="100" style="width:387px;height:73px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/ActivPBI_0.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/ActivPBI_5F00_0.png" border="0" /></a><br /></span><span style="font-family:arial,helvetica,sans-serif;font-size:small;"><span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/ActivPBI_2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/ActivPBI_5F00_2.png"></a><br /></span><span>Une fois l&rsquo;achat effectu&eacute;, il faut aller associer un compte pour l&rsquo;administration. <br /></span><i><span><span style="font-size:x-small;">Note&nbsp;: Il faut parfois attendre un petit moment pour que cela fonctionne (5 minutes en g&eacute;n&eacute;ral).</span><br /></span></i><span>Pour cela, sur le bandeau du haut, ouvrez le menu &laquo;&nbsp;Administrateur&nbsp;&raquo; et s&eacute;lectionnez l&rsquo;administration du site Power BI&nbsp;&nbsp;<br /></span></span><span style="font-family:arial,helvetica,sans-serif;"><span style="font-size:medium;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/ActivPBI_3.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/ActivPBI_5F00_3.png"></a><span style="font-family:arial,helvetica,sans-serif;font-size:small;"><span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/ActivPBI_2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/ActivPBI_5F00_2.png"><img width="438" height="157" style="width:388px;height:128px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/ActivPBI_2.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/ActivPBI_5F00_2.png" border="0" /></a></span></span><br /></span></span><span style="font-family:arial,helvetica,sans-serif;"><span style="font-size:small;">La fen&ecirc;tre d&rsquo;administration s&rsquo;ouvre, allez sur le menu de gauche et s&eacute;lectionnez Gestion des R&ocirc;les</span></span></p>
<p><span style="font-family:arial,helvetica,sans-serif;"><span style="font-size:small;"><span style="font-family:arial,helvetica,sans-serif;"><span style="font-size:medium;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/ActivPBI_3.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/ActivPBI_5F00_3.png"><img width="311" height="299" style="width:203px;height:195px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/ActivPBI_3.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/ActivPBI_5F00_3.png" border="0" /></a></span></span><br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/ActivPBI_4.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/ActivPBI_5F00_4.png"></a><br /></span><span style="font-size:small;"><span>Dans le menu qui s&rsquo;ouvre sur la page centrale, cliquez sur <a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/ActivPBI_plus.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/ActivPBI_5F00_plus.png"><img width="28" height="25" style="width:20px;height:19px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/ActivPBI_plus.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/ActivPBI_5F00_plus.png" border="0" /></a><br /></span></span><span style="font-size:small;">Et s&eacute;lectionnez l&rsquo;administrateur ou les comptes que vous voulez utiliser pour administrer le site Power BI, cr&eacute;er des passerelles ou encore g&eacute;rez les sources de donn&eacute;es </span></span></p>
<p><span style="font-family:arial,helvetica,sans-serif;"><span style="font-size:small;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/ActivPBI_4.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/ActivPBI_5F00_4.png"><img width="439" height="132" style="width:375px;height:102px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/ActivPBI_4.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/ActivPBI_5F00_4.png" border="0" /></a><br /><br /></span><span style="font-size:small;"><span>On peut &eacute;galement d&eacute;finir les Data Steward, c&rsquo;est-&agrave;-dire les utilisateurs qui auront le r&ocirc;le de d&eacute;finition et de certification des requ&ecirc;tes Power Query dans le r&eacute;f&eacute;rentiel d&rsquo;entreprise en cliquant sur le lien Gestionnaire de donn&eacute;es en en cliquant sur&nbsp;<img width="28" height="25" style="width:20px;height:19px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/ActivPBI_plus.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/ActivPBI_5F00_plus.png" border="0" />&nbsp;de la m&ecirc;me mani&egrave;re que pr&eacute;c&eacute;demment.<br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/ActivPBI_5.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/ActivPBI_5F00_5.png"><img width="438" height="106" style="width:426px;height:99px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/ActivPBI_5.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/ActivPBI_5F00_5.png" border="0" /></a><br /></span></span><span style="font-size:small;">Ensuite il ne reste plus qu&rsquo;&agrave; associer l&rsquo;utilisateur avec la licence Power BI.<br /></span><span style="font-size:small;">Aller sur Administrateur et en choisissant Office 365</span></span></p>
<p><span style="font-family:arial,helvetica,sans-serif;"><span style="font-size:small;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/ActivPBI_6.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/ActivPBI_5F00_6.png"><img width="143" height="203" style="width:108px;height:149px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/ActivPBI_6.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/ActivPBI_5F00_6.png" border="0" /></a></span></span></p>
<p><span style="font-family:arial,helvetica,sans-serif;"><span style="font-size:small;"><br /></span><span style="font-size:small;"><span>Sur les liens du menu de gauche, s&eacute;lectionnez Utilisateurs et Groupes et ensuite Utilisateurs actifs</span></span></span></p>
<p><span style="font-family:arial,helvetica,sans-serif;"><span style="font-size:small;"><span><span style="font-family:arial,helvetica,sans-serif;"><span style="font-size:small;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/ActivPBI_7.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/ActivPBI_5F00_7.png"><img width="227" height="407" style="width:183px;height:372px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/ActivPBI_7.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/ActivPBI_5F00_7.png" border="0" /></a></span></span></span></span></span></p>
<p><span style="font-family:arial,helvetica,sans-serif;"><span style="font-size:small;"><span><br /></span></span><span style="font-size:small;">2 possibilit&eacute;s vous sont offertes&nbsp;: <br /></span><span style="font-size:small;">1. L&rsquo;utilisateur existe d&eacute;j&agrave; dans mon portail<br /></span><span style="font-size:small;">Dans le menu qui s&rsquo;ouvre sur la page centrale, s&eacute;lectionnez un utilisateur existant.</span></span></p>
<p><span style="font-family:arial,helvetica,sans-serif;"><span style="font-size:small;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/ActivPBI_8.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/ActivPBI_5F00_8.png"><img width="439" height="63" style="width:419px;height:54px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/ActivPBI_8.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/ActivPBI_5F00_8.png" border="0" /></a></span></span></p>
<p><span style="font-family:arial,helvetica,sans-serif;"><span style="font-size:small;"><br /></span><span style="font-size:small;">Une fen&ecirc;tre de description de l&rsquo;utilisateur s&rsquo;ouvre, sur le menu de gauche, s&eacute;lectionnez &nbsp;Licences</span></span></p>
<p><span style="font-family:arial,helvetica,sans-serif;"><span style="font-size:small;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/ActivPBI_9.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/ActivPBI_5F00_9.png"><img width="439" height="210" style="width:404px;height:186px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/ActivPBI_9.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/ActivPBI_5F00_9.png" border="0" /></a><br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/ActivPBI_9.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/ActivPBI_5F00_9.png"></a></span><span style="font-size:small;">Dans la fen&ecirc;tre centrale, il faut cocher la licence Power BI pour l&rsquo;utiliser.</span></span></p>
<p><span style="font-family:arial,helvetica,sans-serif;"><span style="font-size:small;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/ActivPBI_10.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/ActivPBI_5F00_10.png"><img width="439" height="254" style="width:439px;height:253px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/ActivPBI_10.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/ActivPBI_5F00_10.png" border="0" /></a></span></span></p>
<p><span style="font-family:arial,helvetica,sans-serif;"><span style="font-size:small;"><br /></span><span style="font-size:small;"><i><span><span style="font-size:x-small;">Note&nbsp;: Attention, parfois 2 licences int&egrave;grent le m&ecirc;me service, il faudra veiller &agrave; ne pas cocher 2 fois un service sinon la modification ne se fera pas.</span><br /></span></i></span><span style="font-size:small;">2. L&rsquo;utilisateur n&rsquo;existe pas encore dans mon portail<br /></span><span style="font-size:small;">Cr&eacute;er un nouvel utilisateur<br /></span><span style="font-size:small;"><span>Dans le menu qui s&rsquo;ouvre sur la page centrale, cliquez sur <img width="28" height="25" style="width:20px;height:19px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/ActivPBI_plus.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/ActivPBI_5F00_plus.png" border="0" /><br /></span></span><span style="font-size:small;">Une fen&ecirc;tre pop-up s&rsquo;ouvre, renseignez tous les champs et cochez les cases des licences que vous souhaitez.</span></span></p>
<p><span style="font-family:arial,helvetica,sans-serif;"><span style="font-size:small;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/ActivPBI_11.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/ActivPBI_5F00_11.png"><img width="279" height="468" style="width:272px;height:458px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/ActivPBI_11.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/ActivPBI_5F00_11.png" border="0" /></a></span></span></p>
<p><span style="font-family:arial,helvetica,sans-serif;"><span style="font-size:small;"><br /></span><span style="font-size:small;">En cliquant sur Cr&eacute;er, un message vous confirme la cr&eacute;ation.</span></span></p>
<p><span style="font-family:arial,helvetica,sans-serif;"><span style="font-size:small;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/ActivPBI_12.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/ActivPBI_5F00_12.png"><img width="407" height="210" style="width:315px;height:156px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/ActivPBI_12.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/ActivPBI_5F00_12.png" border="0" /></a></span></span></p>
<p><span style="font-family:arial,helvetica,sans-serif;"><span style="font-size:small;"><br /></span><span style="font-size:small;"><i><span><span style="font-size:x-small;">Note&nbsp;: Un mot de passe temporaire est attribu&eacute;, il devra &ecirc;tre chang&eacute; lors de la premi&egrave;re connexion de l&rsquo;utilisateur.</span><br /></span></i></span><span style="font-size:small;">L&rsquo;acc&egrave;s &agrave;<span style="font-family:arial,helvetica,sans-serif;"><span style="font-size:small;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/ActivPBI_12.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/ActivPBI_5F00_12.png"></a></span></span> Power BI est configur&eacute;.<span style="font-family:arial,helvetica,sans-serif;"><span style="font-size:small;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/ActivPBI_12.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/ActivPBI_5F00_12.png"></a></span></span></span></span></p>]]></content:encoded>
    </item>
    <item>
      <title>Extraction de plusieurs fichiers avec Power Query</title>
      <link>https://docs.microsoft.com/archive/blogs/theholybiblog/extraction-de-plusieurs-fichiers-avec-power-query</link>
      <pubDate>Mon, 21 Jul 2014 09:56:22 GMT</pubDate>
      <dc:creator><![CDATA[Ludovic Bouaziz]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/theholybiblog/2014/07/21/extraction-de-plusieurs-fichiers-avec-power-query/</guid>
      <description><![CDATA[Power Query &ndash; FacileTags : Power Query; Excel 2013, Combinaison binaires

Temps de...]]></description>
      <content:encoded><![CDATA[<p><span style="font-size:small;"><span style="color:black;"><span style="font-family:Calibri;">Power Query &ndash; Facile<br /></span></span><span style="color:black;"><span style="font-family:Calibri;">Tags : Power Query; Excel 2013, Combinaison binaires</span></span></span></p>
<p></p>
<p style="margin:0cm 0cm 0pt;line-height:normal;"><b><span style="color:#f29100;"><span style="font-family:Calibri;font-size:medium;">Temps de pr&eacute;paration : 5 minutes</span></span></b></p>
<p></p>
<p><span style="font-family:Calibri;"><span style="font-size:medium;"><b>Objectif</b> :<br /></span></span><i><span style="font-family:Calibri;font-size:medium;">Il est fr&eacute;quent dans les sc&eacute;narii BI que l&rsquo;on nous fournisse des extractions de donn&eacute;es provenant d&#39;une application tierce et que ces fichiers soit en nombre dans un dossier.<br /></span></i><i><span style="font-family:Calibri;font-size:medium;">De mani&egrave;re g&eacute;n&eacute;rale quand cela arrive, il faut mettre en &oelig;uvre un processus it&eacute;ratif afin de r&eacute;p&eacute;ter des op&eacute;rations de transformation, de formatage et/ou de d&eacute; doublonnage. </span></i><i><span style="font-family:Calibri;font-size:medium;">Power Query nous offre une option int&eacute;ressante pour effectuer cette op&eacute;ration, il s&#39;agit de la combinaison de binaires. </span></i></p>
<p style="margin:0cm 0cm 0pt;line-height:14pt;"><b><span style="color:#f47321;font-family:&#39;Arial&#39;,&#39;sans-serif&#39;;font-size:10pt;">Ingr&eacute;dients :</span></b><span style="color:#333333;font-family:&#39;Arial&#39;,&#39;sans-serif&#39;;font-size:10pt;"> <br /></span></p>
<p style="line-height:14pt;margin-top:0cm;margin-right:0cm;margin-bottom:0pt;"><br />- L&#39;add-in Power Query install&eacute; dans Excel 2013 (si non rendez-vous ici : <a href="https://www.microsoft.com/fr-FR/download/details.aspx?id=39379">https://www.microsoft.com/fr-FR/download/details.aspx?id=39379</a>)<br />-&nbsp;Un dossier contenant plusieurs fichiers CSV dont la structure est la m&ecirc;me mais qui ne poss&egrave;dent pas les m&ecirc;mes donn&eacute;es.<br /><br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P3I1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P3I1.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P3I1.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P3I1.png" border="0" /></a></p>
<p><b><span style="font-family:Calibri;font-size:medium;">Pr&eacute;paration de la recette :<br /></span></b><span style="font-family:Calibri;font-size:medium;">Au niveau du ruban dans Excel 2013 je me place sur l&#39;onglet Power Query et je choisis dans mes sources de donn&eacute;es :&nbsp;&quot;&agrave; partir d&#39;un fichier et depuis le dossier&quot;.<br /></span><span style="font-family:Calibri;font-size:medium;"><br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P3I3.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P3I3.png"><img width="439" height="215" style="width:412px;height:190px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P3I3.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P3I3.png" border="0" /></a><br /><span style="font-family:Calibri;font-size:medium;">J&#39;indique le dossier :</span><br /></span><span style="font-family:Calibri;font-size:medium;"><span style="font-family:Calibri;font-size:medium;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P3I4.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P3I4.png"><img width="439" height="159" style="width:333px;height:92px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P3I4.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P3I4.png" border="0" /></a></span></span><span style="font-family:Calibri;font-size:medium;"><br />Apr&egrave;s avoir cliqu&eacute; sur OK, Power Query ouvre une nouvelle requ&ecirc;te qui me donne la possibilit&eacute; d&#39;exploiter les m&eacute;tadonn&eacute;es des fichiers tels que titre, date de cr&eacute;ation, Chemin&hellip;<br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P3I5.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P3I5.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P3I5.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P3I5.png" border="0" /></a><br /><br /></span><span style="font-family:Calibri;font-size:medium;">Notez qu&#39;il existe d&#39;autres attributs sur les enregistrements disponibles en cliquant sur le bouton pr&eacute;sent dans la colonne attributs :&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P3I6.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P3I6.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P3I6.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P3I6.png" border="0" /></a><br /></span><span style="font-family:Calibri;font-size:medium;">Exemple de colonnes additionnelles :<br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P3I7.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P3I7.png"><img width="255" height="169" style="width:201px;height:126px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P3I7.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P3I7.png" border="0" /></a><br /><br /></span><span style="font-family:Calibri;font-size:medium;">Mais je m&#39;int&eacute;resse un peu plus &agrave; l&#39;int&eacute;rieur des fichiers sur lesquels je vais vouloir apporter des modifications.&nbsp; Pour cela je clique sur le bouton de la colonne Content &quot;Combiner les binaires&quot; :&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P3I8.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P3I8.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P3I8.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P3I8.png" border="0" /></a><br /></span><span style="font-family:Calibri;font-size:medium;">Je peux faire un ensemble de transformation sur le contenu du fichier et constater que ma colonne Year contient bien les ann&eacute;es des diff&eacute;rents fichiers :<br /><br />&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P3I9.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P3I9.png"><img width="267" height="244" style="width:179px;height:179px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P3I9.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P3I9.png" border="0" /></a><br /><br /></span><span style="font-family:Calibri;font-size:medium;">Je constate que la colonne contient &eacute;galement le mot &quot;Year&quot;, il s&#39;agit en effet du regroupement des ent&ecirc;tes des autres fichiers, je peux filtrer cela en d&eacute;cochant la case year ce qui m&#39;ajoutera une &eacute;tape de filtre :&nbsp;<br /><br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P3I10.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P3I10.png"><img width="161" height="192" style="width:124px;height:134px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P3I10.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P3I10.png" border="0" /></a><br /></span><span style="font-family:Calibri;font-size:medium;">Je suis pr&ecirc;t &agrave; charger tous mes fichiers dans une requ&ecirc;te en cliquant sur Appliquer et fermer. <br /></span><span style="font-family:Calibri;font-size:medium;">Dans mon classeur de requ&ecirc;tes qui est accessible depuis Excel je vois le nombre de lignes charg&eacute;es pour cette requ&ecirc;te.&nbsp;<br /><br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P3I11.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P3I11.png"><img width="225" height="71" style="width:180px;height:49px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P3I11.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P3I11.png" border="0" /></a><br /></span></p>
<p><span style="font-family:Calibri;font-size:medium;"><strong>Pour aller plus loin :</strong> <br /></span><span style="font-family:Calibri;font-size:medium;">Si je rajoute un nouveau fichier dans le dossier, par exemple, le fichier pour l&#39;ann&eacute;e 2013&nbsp;:<br /><br />&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P3I12.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P3I12.png"><img width="437" height="80" style="width:319px;height:48px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P3I12.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P3I12.png" border="0" /></a></span><span style="font-family:Calibri;"><span style="font-size:medium;"><br />Je peux rafraichir ma requ&ecirc;te pour r&eacute;cup&eacute;rer les lignes du nouveau fichier&nbsp;et les diff&eacute;rentes op&eacute;rations&nbsp;de transformation que l&#39;on&nbsp;avait d&eacute;finit pr&eacute;alablement s&#39;appliqueront &eacute;galement sur le nouveau : <br /><br /></span></span><span style="font-family:Calibri;"><span style="font-size:medium;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P3I13.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P3I13.png"><img width="243" height="119" style="width:167px;height:78px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P3I13.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P3I13.png" border="0" /></a>&nbsp;</span></span></p>]]></content:encoded>
    </item>
    <item>
      <title>Jauges avec slicer</title>
      <link>https://docs.microsoft.com/archive/blogs/theholybiblog/jauges-avec-slicer</link>
      <pubDate>Mon, 07 Jul 2014 06:02:00 GMT</pubDate>
      <dc:creator><![CDATA[Ludovic Bouaziz]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/theholybiblog/2014/07/07/jauges-avec-slicer/</guid>
      <description><![CDATA[Power Pivot + Dax + Excel - Facile 
Tags : CALCULATE&nbsp;; ALL&nbsp;; Segments&nbsp;;...]]></description>
      <content:encoded><![CDATA[<p style="margin:0cm 0cm 0pt;line-height:14pt;"><span style="color:#979797;font-family:&#39;Arial&#39;,&#39;sans-serif&#39;;font-size:10pt;">Power Pivot + Dax + Excel - Facile </span></p>
<p style="margin:0cm 0cm 0pt;line-height:14pt;"><span lang="EN-US" style="color:#979797;font-family:&#39;Arial&#39;,&#39;sans-serif&#39;;font-size:10pt;">Tags : CALCULATE&nbsp;; ALL&nbsp;; Segments&nbsp;; VALEURCUBE&nbsp;; Excel&nbsp;; Jauge</span></p>
<p style="margin:0cm 0cm 0pt;line-height:14pt;"><b><span style="color:#f47321;font-family:&#39;Arial&#39;,&#39;sans-serif&#39;;font-size:10pt;">Temps de pr&eacute;paration : 30 minutes</span></b></p>
<p style="margin:0cm 0cm 0pt;line-height:normal;"><span style="font-family:Calibri;"><span style="font-size:medium;"><b><span style="background:#dbe5f1;color:black;">D&eacute;finition</span></b><span style="background:#dbe5f1;color:black;"> : <i>Une Jauge est un moyen d&eacute;cisionnel de repr&eacute;senter un KPI ou indicateur cl&eacute;. Elle permet de repr&eacute;senter l&rsquo;atteinte d&rsquo;un objectif par rapport &agrave; des seuils pr&eacute;d&eacute;finis sous la forme d&rsquo;un compteur dont les seuils sont dispos&eacute;s de mani&egrave;re lin&eacute;aire sur l&rsquo;objet et l&rsquo;atteinte de l&rsquo;objectif est repr&eacute;sent&eacute; par un niveau ou une aiguille. </i></span></span></span></p>
<p></p>
<p><b>Pr&eacute;paration de la recette :<br /></b><span style="font-family:arial,helvetica,sans-serif;font-size:small;">Le mod&egrave;le que j&rsquo;utilise est un mod&egrave;le de donn&eacute;es bas&eacute;e sur des donn&eacute;es provenant des nations unies concernant la vente de fruits dans le monde pendant les 50 derni&egrave;res ann&eacute;es. Le mod&egrave;le poss&egrave;de une table de fait de production, une dimension fruit, une dimension g&eacute;ographique et une dimension temps. (Note&nbsp;: je d&eacute;taillerai la constitution de ce mod&egrave;le dans un prochain billet)<br />Dans cet exemple, il faut s&rsquo;int&eacute;resser &agrave; la fonction Calculate, cette fonction permet de r&eacute;aliser un calcul dans un contexte de donn&eacute;es diff&eacute;rent du contexte initial. La fonction attends deux param&egrave;tres, le premier est la table sur laquelle le calcul s&rsquo;op&egrave;re, les param&egrave;tres suivants sont des filtres sur le contexte. <br />De plus, la fonction ALL permet de fournir une table non filtr&eacute;e.<br />Enfin, Power Pivot permet d&rsquo;utiliser des mesures dans le calcul d&rsquo;autres mesures, ce qui &eacute;vites des formules longues et complexes.</span></p>
<p><span style="font-family:Calibri;font-size:medium;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P2I1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P2I1.png"><img width="438" height="272" style="width:369px;height:262px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P2I1.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P2I1.png" border="0" /></a><br /></span></p>
<p><span style="font-family:arial,helvetica,sans-serif;font-size:small;"><span style="line-height:107%;">L&rsquo;id&eacute;e est de repr&eacute;senter une jauge par rapport &agrave; l&rsquo;atteinte d&rsquo;un objectif. Pour ce faire, on va utiliser une premi&egrave;re technique qui consiste &agrave; simuler une jauge &agrave; l&rsquo;aide de camembert et d&rsquo;anneau. <br /></span>On utilise une seconde technique relative &agrave; Power Pivot pour animer la jauge &agrave; l&rsquo;aide de mesures calcul&eacute;es ce qui va nous permettre de prendre parti des segments pour filtrer la jauge.</span><br /><span style="font-family:arial,helvetica,sans-serif;font-size:small;">Enfin on utilise la technique de r&eacute;cup&eacute;ration des donn&eacute;es d&rsquo;un cube dans Excel afin de constituer le tableau des valeurs n&eacute;cessaires pour les graphiques.</span><br /><br /><span style="font-family:arial,helvetica,sans-serif;font-size:small;">Pour constituer la jauge, je vais constituer 2 tables de donn&eacute;es&nbsp;:</span></p>
<p><span style="font-family:arial,helvetica,sans-serif;font-size:small;">- La premi&egrave;re concerne les seuils (vert jusque 75% et rouge pour le reste)</span><br /><span style="font-family:arial,helvetica,sans-serif;font-size:small;">- La seconde concerne l&rsquo;aiguille.</span></p>
<p><span style="font-family:arial,helvetica,sans-serif;font-size:small;">Pour alimenter la table concernant l&rsquo;aiguille, il me faut disposer des informations suivantes&nbsp;:</span></p>
<p><span style="font-family:arial,helvetica,sans-serif;font-size:small;">- Le demi-anneau du bas&nbsp;</span><br /><span style="font-family:arial,helvetica,sans-serif;font-size:small;">- La position de l&rsquo;aiguille&nbsp;</span><br /><span style="font-family:arial,helvetica,sans-serif;font-size:small;">- L&rsquo;&eacute;paisseur de l&rsquo;aiguille</span><br /><span style="font-family:arial,helvetica,sans-serif;font-size:small;">- Le reste du cadran</span></p>
<p><b>Comment les constituer&nbsp;?<br /> </b><span style="font-family:arial,helvetica,sans-serif;font-size:small;">Dans Power Pivot au niveau de la table de fait Production je cr&eacute;e les mesures suivantes&nbsp;:</span></p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="113" valign="top"><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span>
<p><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;">Nom</span></p>
<span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span></td>
<td width="293" valign="top"><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span>
<p><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;">Formule Dax</span></p>
<span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span></td>
<td width="198" valign="top"><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span>
<p><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;">Explications</span></p>
<span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span></td>
</tr>
<tr>
<td width="113" valign="top"><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span>
<p><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;">Base</span></p>
<span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span></td>
<td width="293" valign="top"><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span>
<p><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;">Base:=180</span></p>
<span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span></td>
<td width="198" valign="top"><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span>
<p><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;">Il s&rsquo;agit de la base de l&rsquo;anneau</span></p>
<span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span></td>
</tr>
<tr>
<td width="113" valign="top"><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span>
<p><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;">TotalMesure</span></p>
<span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span></td>
<td width="293" valign="top"><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span>
<p><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;">totalMesure:=CALCULATE(Sum(Production[Quantit&eacute;]);ALL(Production))</span></p>
<span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span></td>
<td width="198" valign="top"><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span>
<p><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;">En utilisant calculate cette mesure me donne le total sans prendre en compte les filtres appliqu&eacute;s sur la page o&ugrave; les segments.</span></p>
<span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span></td>
</tr>
<tr>
<td width="113" valign="top"><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span>
<p><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;">Pct</span></p>
<span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span></td>
<td width="293" valign="top"><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span>
<p><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;">Pct:=Sum(Production[Quantit&eacute;])/[totalMesure]*100</span></p>
<span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span></td>
<td width="198" valign="top"><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span>
<p><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;">Cette mesure calcule l&rsquo;indicateur en pourcentage</span></p>
<span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span></td>
</tr>
<tr>
<td width="113" valign="top"><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span>
<p><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;">Aiguille_Pos</span></p>
<span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span></td>
<td width="293" valign="top"><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span>
<p><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;">Aiguille_Pos:=(180/100)*[Pct]-1</span></p>
<span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span></td>
<td width="198" valign="top"><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span>
<p><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;">Cette mesure donne la position de l&rsquo;aiguille</span></p>
<span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span></td>
</tr>
<tr>
<td width="113" valign="top"><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span>
<p><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;">Aiguille_Width</span></p>
<span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span></td>
<td width="293" valign="top"><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span>
<p><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;">Aiguille_Width:=5</span></p>
<span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span></td>
<td width="198" valign="top"><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span>
<p><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;">Cette mesure donne l&rsquo;&eacute;paisseur de l&rsquo;aiguille</span></p>
<span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span></td>
</tr>
<tr>
<td width="113" valign="top"><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span>
<p><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;">Jauge</span></p>
<span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span></td>
<td width="293" valign="top"><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span>
<p><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;">Jauge:=360-([Aiguille_Pos]+[Aiguille_Width]+180)</span></p>
<span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span></td>
<td width="198" valign="top"><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span>
<p><span style="font-family:arial,helvetica,sans-serif;font-size:x-small;">Cette mesure donne l&rsquo;espace restant de la jauge</span></p>
<span style="font-family:arial,helvetica,sans-serif;font-size:x-small;"> </span></td>
</tr>
</tbody>
</table>
<p><span style="font-family:arial,helvetica,sans-serif;font-size:small;">Ce qui nous donne&nbsp;</span>:</p>
<p><span style="font-family:Calibri;font-size:medium;"><span style="line-height:107%;font-family:&#39;Trebuchet MS&#39;,&#39;sans-serif&#39;;font-size:10pt;"><span style="font-family:Times New Roman;font-size:medium;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P2I2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P2I2.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P2I2.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P2I2.png" border="0" /></a><br /><span style="font-family:Times New Roman;font-size:medium;"> </span></span></span></span></p>
<p style="margin:0cm 0cm 8pt;"><span style="line-height:107%;font-family:&#39;Trebuchet MS&#39;,&#39;sans-serif&#39;;font-size:small;"><span style="font-family:arial,helvetica,sans-serif;">On se place dans Excel et on fait la table des seuils&nbsp;:</span> </span></p>
<p><span style="font-family:Calibri;font-size:medium;"><span style="line-height:107%;font-family:&#39;Trebuchet MS&#39;,&#39;sans-serif&#39;;font-size:10pt;"><span style="font-family:Times New Roman;font-size:medium;"><span style="font-family:Times New Roman;font-size:medium;"> </span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P2I3.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P2I3.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P2I3.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P2I3.png" border="0" /></a><br /></span></span></span></p>
<p></p>
<p style="margin:0cm 0cm 8pt;"><span style="font-family:arial,helvetica,sans-serif;font-size:small;"><span style="line-height:107%;">Ensuite, on s&eacute;lectionne la colonne des degr&eacute;s et on ins&egrave;re un graphique&nbsp;:<br /></span><span style="line-height:107%;">Notez que le 180 est une valeur que l&rsquo;on impose afin de couper l&rsquo;anneau en deux et qui ne suit pas la r&egrave;gle de la formule. </span></span><span style="line-height:107%;font-family:&#39;Trebuchet MS&#39;,&#39;sans-serif&#39;;font-size:10pt;"><span style="font-family:arial,helvetica,sans-serif;font-size:small;">Ensuite on s&eacute;lectionne la colonne degr&eacute; et dans le menu insertion, on ajoute un anneau. </span><br /><span style="font-family:arial,helvetica,sans-serif;font-size:small;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P2I4.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P2I4.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P2I4.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P2I4.png" border="0" /></a></span><br /><span style="line-height:107%;font-family:&#39;Trebuchet MS&#39;,&#39;sans-serif&#39;;font-size:10pt;"><span style="font-family:arial,helvetica,sans-serif;font-size:small;">Ce qui nous donne l&rsquo;anneau suivant&nbsp;:</span><br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P2I5.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P2I5.png"><img width="366" height="300" style="width:113px;height:115px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P2I5.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P2I5.png" border="0" /></a><br /><span style="font-family:Times New Roman;font-size:medium;"> </span></span></span></p>
<p style="margin:0cm 0cm 8pt;"><span style="font-family:arial,helvetica,sans-serif;font-size:small;"><span style="line-height:107%;">On supprime la l&eacute;gende, et on s&eacute;lectionne le demi-anneau, clic droit, et on choisit mettre en forme une s&eacute;rie de donn&eacute;es.<br /></span><span style="line-height:107%;">On va sur l&rsquo;onglet Option des s&eacute;ries dans la fen&ecirc;tre de modification des s&eacute;ries de donn&eacute;es et on change l&rsquo;angle du secteur 1 &agrave; 90&deg;, dans remplissage, on choisit aucun remplissage pour le secteur 1.<br /></span><span style="line-height:107%;">Je supprime le titre et la l&eacute;gende.<br /></span><span style="line-height:107%;">J&#39;ins&egrave;re un segment et une chronologie&nbsp;: <br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P2I6.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P2I6.png"><img width="100" height="54" style="width:76px;height:40px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P2I6.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P2I6.png" border="0" /></a></span></span><span style="line-height:107%;font-family:&#39;Trebuchet MS&#39;,&#39;sans-serif&#39;;font-size:10pt;"><br /><span style="font-family:arial,helvetica,sans-serif;font-size:small;">Pour le Segment&nbsp;: dans le menu insertion, on choisit nouveau segment. On choisit le mod&egrave;le de donn&eacute;es</span><br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P2I7.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P2I7.png"><img width="387" height="152" style="width:287px;height:104px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P2I7.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P2I7.png" border="0" /></a><br /><span style="line-height:107%;font-family:arial,helvetica,sans-serif;font-size:small;">On se connecte &agrave; notre mod&egrave;le de donn&eacute;es et on s&eacute;lectionne la dimension fruits.</span></span><span style="line-height:107%;font-family:arial,helvetica,sans-serif;font-size:small;"><br /></span></p>
<p style="margin:0cm 0cm 8pt;"><span style="line-height:107%;font-family:&#39;Trebuchet MS&#39;,&#39;sans-serif&#39;;font-size:10pt;"><span style="font-family:Times New Roman;font-size:medium;"> <a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P2I8.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P2I8.png"><img width="187" height="249" style="width:140px;height:206px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P2I8.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P2I8.png" border="0" /></a><br /><span style="font-family:Times New Roman;font-size:medium;"> </span></span></span></p>
<p><span style="font-family:arial,helvetica,sans-serif;font-size:small;">Dans Outils segment &agrave; Options &agrave; param&egrave;tres des segments</span><br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P2I9.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P2I9.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P2I9.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P2I9.png" border="0" /></a><br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P2I10.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P2I10.png"><img width="439" height="222" style="width:353px;height:156px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P2I10.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P2I10.png" border="0" /></a><br /><span style="font-family:Times New Roman;font-size:medium;"> </span></p>
<p style="margin:0cm 0cm 8pt;"><span style="line-height:107%;font-family:arial,helvetica,sans-serif;font-size:small;">Pour la chronologie, on proc&egrave;de de la m&ecirc;me mani&egrave;re que pour le segment &agrave; ceci pr&egrave;s que l&rsquo;on ne changera pas le nom et que le nom date sera impos&eacute; avec une incr&eacute;mentation pour toutes les chronologies.<br /></span><span style="line-height:107%;font-family:&#39;Trebuchet MS&#39;,&#39;sans-serif&#39;;font-size:10pt;"><span style="font-family:arial,helvetica,sans-serif;font-size:small;">On constitue le tableau de l&rsquo;aiguille&nbsp;dans la feuille Excel: </span><br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P2I11.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P2I11.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P2I11.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P2I11.png" border="0" /></a><br /><span style="font-family:Times New Roman;font-size:medium;"> </span></span></p>
<p style="margin:0cm 0cm 8pt;"><span style="font-family:arial,helvetica,sans-serif;font-size:small;"><span style="line-height:107%;">On copie le graphique pr&eacute;c&eacute;dent, on le colle sur la m&ecirc;me feuille et on le d&eacute;place pour qu&rsquo;il soit exactement au-dessus du graphique initial.<br /></span><span style="line-height:107%;">Je clic droit sur le graphique et dans le menu contextuel je choisis s&eacute;lectionner les donn&eacute;es.<br /></span></span><span style="line-height:107%;font-family:&#39;Trebuchet MS&#39;,&#39;sans-serif&#39;;font-size:10pt;"><span style="font-family:arial,helvetica,sans-serif;font-size:small;">Je supprime la s&eacute;rie d&rsquo;entr&eacute;es de l&eacute;gende et j&rsquo;en ajoute une nouvelle qui correspond &agrave; la colonne degr&eacute; du tableau &quot;Aiguille&quot;.</span><br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P2I12.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P2I12.png"><img width="439" height="232" style="width:351px;height:172px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P2I12.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P2I12.png" border="0" /></a><br /><span style="font-family:Times New Roman;font-size:medium;"> </span></span></p>
<p style="margin:0cm 0cm 8pt;"><span style="font-family:arial,helvetica,sans-serif;font-size:small;"><span style="line-height:107%;">J&rsquo;obtiens un camembert avec une tranche plus fine correspondant &agrave; l&rsquo;aiguille.<br /></span><span style="line-height:107%;">Je clique sur les autres cat&eacute;gories et je choisis pour chacune d&rsquo;entre elles aucun remplissage, je modifie &eacute;galement le remplissage de la tranche de l&rsquo;aiguille pour la mettre en noir.<br /></span><span style="line-height:107%;">Je clic droit sur le fond du graphique et je choisis aucun remplissage ce qui me permet de voir le graphique d&rsquo;en dessous.<br /></span></span><span style="line-height:107%;font-family:&#39;Trebuchet MS&#39;,&#39;sans-serif&#39;;font-size:10pt;"><span style="font-family:arial,helvetica,sans-serif;font-size:small;">J&#39;obtiens le graphique suivant&nbsp;: </span><br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P2I13.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P2I13.png"><img width="336" height="195" style="width:177px;height:101px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P2I13.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P2I13.png" border="0" /></a><br /><span style="font-family:Times New Roman;font-size:medium;"> </span></span></p>
<p><span style="font-family:arial,helvetica,sans-serif;font-size:small;">On ajoute le texte de l&rsquo;atteinte d&rsquo;objectif<br />Dans une cellule on met la formule suivante&nbsp;: <strong>=&quot;Atteint : &quot; &amp; ARRONDI(VALEURCUBE(&quot;ThisWorkbookDataModel&quot;;&quot;[Measures].[Aiguille_Pos]&quot;;Segment_Fruits1;Chronologie_Date1);0) &amp; &quot; %&quot;<br /></strong>- </span><span style="font-family:arial,helvetica,sans-serif;font-size:small;">J&#39;ajoute sur la feuille une zone de texte en allant sur insertion &agrave; text &agrave; zone de texte<br /></span><span style="font-family:arial,helvetica,sans-serif;font-size:small;">- Dans la barre de formule de la zone de texte on &eacute;crit la formule = $D$2 ou D2 est dans mon cas la cellule contenant le titre.<br />- </span><span style="font-family:arial,helvetica,sans-serif;font-size:small;">Je place la zone de texte dans le graphique</span></p>
<p style="margin:0cm 0cm 8pt;"><span style="line-height:107%;font-family:&#39;Trebuchet MS&#39;,&#39;sans-serif&#39;;font-size:small;"><span style="font-family:arial,helvetica,sans-serif;">Le r&eacute;sultat est le suivant&nbsp;:</span> </span></p>
<p style="margin:0cm 0cm 8pt;"><span style="line-height:107%;font-family:&#39;Trebuchet MS&#39;,&#39;sans-serif&#39;;font-size:10pt;"><span style="font-family:Times New Roman;font-size:medium;"><span style="font-family:Times New Roman;font-size:medium;"> </span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P2I14.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P2I14.png"><img width="439" height="130" style="width:358px;height:105px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P2I14.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P2I14.png" border="0" /></a><br /><span style="font-family:Times New Roman;font-size:medium;"> </span></span></span></p>
<p><span style="font-family:arial,helvetica,sans-serif;font-size:small;"><strong>Pour aller plus loin&nbsp;:</strong><br /></span><span style="font-family:arial,helvetica,sans-serif;font-size:small;">De la m&ecirc;me mani&egrave;re, on peut utiliser les m&ecirc;mes techniques pour faire une jauge de ce type-l&agrave;<br /></span><span style="font-family:arial,helvetica,sans-serif;font-size:small;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P2I15.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P2I15.png"><img width="327" height="170" style="width:239px;height:111px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P2I15.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P2I15.png" border="0" /></a></span><br /><span style="font-family:arial,helvetica,sans-serif;font-size:small;">Ou encore utiliser une image de fond plut&ocirc;t qu&rsquo;un autre graphique.&nbsp;&nbsp;&nbsp;</span></p>
<p style="margin:0cm 0cm 8pt;"><span style="line-height:107%;font-family:&#39;Trebuchet MS&#39;,&#39;sans-serif&#39;;font-size:10pt;"><span style="font-family:Times New Roman;font-size:medium;"><span style="font-family:Times New Roman;font-size:medium;"> </span></span><br /></span></p>
<p style="margin:0cm 0cm 8pt;"><span style="line-height:107%;font-family:&#39;Trebuchet MS&#39;,&#39;sans-serif&#39;;font-size:10pt;"><span style="font-family:Times New Roman;font-size:medium;"> </span></span><span style="line-height:107%;font-family:&#39;Trebuchet MS&#39;,&#39;sans-serif&#39;;font-size:10pt;"><br /></span></p>]]></content:encoded>
    </item>
    <item>
      <title>Moyenne Mobile avec Power Pivot</title>
      <link>https://docs.microsoft.com/archive/blogs/theholybiblog/moyenne-mobile-avec-power-pivot</link>
      <pubDate>Thu, 26 Jun 2014 10:01:00 GMT</pubDate>
      <dc:creator><![CDATA[Ludovic Bouaziz]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/theholybiblog/2014/06/26/moyenne-mobile-avec-power-pivot/</guid>
      <description><![CDATA[Moyenne Mobile&nbsp;&nbsp;Power Pivot + Dax - Moyen
Tags : DATESINPERIOD; LASTDATE; CALCULATE; TRI...]]></description>
      <content:encoded><![CDATA[<p><span style="color:#ff9900;font-size:x-large;"><b><span style="font-family:Calibri;">Moyenne Mobile&nbsp;</span></b></span><span style="font-family:Calibri;">&nbsp;</span>Power Pivot + Dax - Moyen</p>
<p>Tags : <b><span style="font-family:Calibri;font-size:medium;">DATESINPERIOD; LASTDATE; CALCULATE; TRI PAR COLONNE; DISTINCTCOUNT</span></b></p>
<p><span style="color:#ff9900;"><b>Temps de pr&eacute;paration : 15 minutes</b></span></p>
<p><b><span style="color:#ff9900;">Remerciements : Rob Collie, Kasper de Jonge</span><br /></b></p>
<p><span style="font-family:Calibri;"><span style="font-size:medium;"><b>D&eacute;finition</b> : <i>La moyenne glissante, ou moyenne mobile, est un type de moyenne statistique utilis&eacute;e pour analyser des s&eacute;ries ordonn&eacute;es de donn&eacute;es, le plus souvent des s&eacute;ries temporelles, en supprimant les fluctuations transitoires de fa&ccedil;on &agrave; en souligner les tendances &agrave; plus long terme. Cette moyenne est dite mobile parce qu&#39;elle est recalcul&eacute;e de fa&ccedil;on continue, en utilisant &agrave; chaque calcul un sous-ensemble d&#39;&eacute;l&eacute;ments dans lequel un nouvel &eacute;l&eacute;ment remplace le plus ancien ou s&#39;ajoute au sous-ensemble.<br /></i></span></span><i><span style="font-family:Calibri;font-size:medium;">Ce type de moyenne est utilis&eacute; g&eacute;n&eacute;ralement comme m&eacute;thode de lissage de valeurs, en particulier dans le domaine financier pour l&#39;analyse technique de cours boursiers.<br /></span></i><i><span style="font-family:Calibri;font-size:medium;">Math&eacute;matiquement, toute moyenne mobile est un exemple de convolution. Physiquement, une moyenne mobile est un filtre passe-bas et poss&egrave;de ainsi un lien profond avec le traitement du signal. </span></i></p>
<p><b>Ingr&eacute;dients :</b></p>
<p>- 1 table de fait avec un montant ou un nombre de vente</p>
<p>- 1 dimension temps&nbsp;</p>
<p><b>Pr&eacute;paration de la recette :<br /><br /></b>On dispose d&#39;un mod&egrave;le de donn&eacute;es :</p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P1I1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P1I1.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P1I1.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P1I1.png" border="0" /></a></span><span style="font-family:Calibri;font-size:medium;"><br />Lorsque je trace une courbe de mes ventes par mois, je dois mettre en regard le total des unit&eacute;s vendues par mois. <br /></span><span style="font-family:Calibri;font-size:medium;">Pour cela j&#39;utilise ma dimension temps et une mesure calcul&eacute;e bien pratique que je vais mettre en &oelig;uvre dans ma table de fait soit : <br /></span><span style="font-family:Calibri;font-size:medium;">Total vente := SUM([Qt&eacute; vendue])<br /></span><span style="font-family:Calibri;font-size:medium;">Je v&eacute;rifie en faisant un tableau crois&eacute; dynamique simple : </span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P1I2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P1I2.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P1I2.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P1I2.png" border="0" /></a><span style="font-family:Calibri;font-size:medium;"><br />Petit probl&egrave;me d&#39;affichage, mes mois sont class&eacute;s par ordre alphab&eacute;tique. <br /></span><span style="font-family:Calibri;font-size:medium;">Pour corriger, je vais dans PowerPivot et je fais (si ce n&#39;est pas d&eacute;j&agrave; fait) une colonne ordre mois :</span></p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="90" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">Date</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="87" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">Num_Mois</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="64" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">Ann&eacute;e</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="86" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><b><span style="font-family:Calibri;font-size:medium;">OrdreMois</span></b></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="79" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">NomMois</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
</tr>
<tr>
<td width="90" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">01/01/2012</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="87" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">1</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="64" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">2012</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="86" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><b><span style="font-family:Calibri;font-size:medium;">201201</span></b></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="79" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">Janvier</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
</tr>
<tr>
<td width="90" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="87" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="64" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="86" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="79" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
</tr>
</tbody>
</table>
<p><span style="font-family:Calibri;font-size:medium;">Pour faire cette colonne OrdreMois dans PowerPivot, je peux cr&eacute;er une colonne calcul&eacute;e (j&#39;ajoute une nouvelle colonne dans la table Temps et la formule sera : <br /></span><span style="font-family:Calibri;font-size:medium;">=FORMAT([Date];&quot;yyyymm&quot;)</span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P1I3.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P1I3.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P1I3.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P1I3.png" border="0" /></a></span><span style="font-family:Calibri;font-size:medium;"><br />Ensuite dans la table Temps, je classe les mois par OrdreMois, pour cela je vais dans le ruban Accueil de la fen&ecirc;tre Power Pivot et je clique sur l&#39;ic&ocirc;ne de tri par colonne : </span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P1I4.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P1I4.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P1I4.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P1I4.png" border="0" /></a><span style="font-family:Calibri;font-size:medium;"><br />Je trie donc mon Mois par l&#39;ordre.</span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P1I5.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P1I5.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P1I5.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P1I5.png" border="0" /></a></span><span style="font-family:Calibri;font-size:medium;"><br />Le graphique crois&eacute; dynamique (GCD) correspondant avec le bon ordre :&nbsp;<br /></span><span style="font-family:Calibri;font-size:medium;">&nbsp;<img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P1I6.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P1I6.png" border="0" /></span><span style="font-family:Calibri;font-size:medium;"><br />Si je traduis la d&eacute;finition, on peut consid&eacute;rer que la Moyenne mobile sur 3 mois doit &ecirc;tre comme suit : </span></p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="64" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">Mois</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="90" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">Total Vente</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="140" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">MM 3 Mois</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
</tr>
<tr>
<td width="64" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">janvier</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="90" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="right"><span style="font-family:Calibri;font-size:medium;">1036</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="140" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">=(1036)/1</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
</tr>
<tr>
<td width="64" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">f&eacute;vrier</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="90" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="right"><span style="font-family:Calibri;font-size:medium;">774</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="140" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">=(1036+774)/2</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
</tr>
<tr>
<td width="64" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">mars</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="90" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="right"><span style="font-family:Calibri;font-size:medium;">625</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="140" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">=(1036+774+625)/3</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
</tr>
<tr>
<td width="64" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">avril</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="90" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="right"><span style="font-family:Calibri;font-size:medium;">945</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="140" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">=(774+625+945)/3</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
</tr>
</tbody>
</table>
<p><span style="font-family:Calibri;font-size:medium;">Sachant que le premier et le second mois ne doivent pas casser l&#39;impression de lissage de la moyenne.&nbsp;<br /></span><span style="font-family:Calibri;font-size:medium;">D&eacute;composons le calcul qui doit &ecirc;tre fait :&nbsp;<br /></span><span style="font-family:Calibri;font-size:medium;">On cherche &agrave; calculer la moyenne des sommes des quantit&eacute;s vendues dans la p&eacute;riode de temps comprises entre le mois en cours et les 3 mois pr&eacute;c&eacute;dents en prenant en compte le nombre r&eacute;el de mois &eacute;coul&eacute;e pour le calcul de la moyenne. <br /></span><span style="font-family:Calibri;font-size:medium;">Bonne nouvelle, le DaX dispose d&#39;une fonction permettant de g&eacute;rer un intervalle de temps, il s&#39;agit de <b>DATESINPERIOD</b>, comme son nom l&#39;indique, &ccedil;a va nous permettre de r&eacute;cup&eacute;rer une table de dates dont les valeurs sont comprises entre une date de d&eacute;but et un intervalle temporelle.<br /></span><span style="font-family:Calibri;font-size:medium;">Soit : <br /></span><span style="font-family:Calibri;font-size:medium;">DATESINPERIOD(la table de dates, Date de D&eacute;but, Intervalle, Type d&#39;intervalle)<br /></span><span style="font-family:Calibri;"><span style="font-size:medium;">Pour la date de d&eacute;but, on utilisera <b>LASTDATE</b>, dont le r&ocirc;le est d&#39;indiquer la derni&egrave;re date du contexte de filtre s&eacute;lectionn&eacute;.&nbsp; <br /></span></span><span style="font-family:Calibri;font-size:medium;">Soit : <br /></span><span style="font-family:Calibri;font-size:medium;">LASTDATE(Dim_temps[Date]) dans le TCD au niveau du mois de janvier donnera le 31/01.<br /></span><span style="font-family:Calibri;font-size:medium;">Pour calculer une somme de quantit&eacute; dans un contexte diff&eacute;rent de celui de la table enti&egrave;re, on utiliser la fonction <b>CALCULATE</b>, qui, comme son nom ne l&#39;indique pas, va nous permettre de calculer quelque chose en fonction de filtre appliqu&eacute;s au contexte courant.<br /></span><span style="font-family:Calibri;font-size:medium;">Soit : <br /></span><span style="font-family:Calibri;font-size:medium;">CALCULATE(n&#39;importe quel calcul, Filtre(s) de contexte) <br /></span><span style="font-family:Calibri;font-size:medium;">Pour calculer cette formule, nous allons cr&eacute;er une premi&egrave;re formule dont le r&ocirc;le est de nous donner le cumul sur 3 mois, la formule de la mesure sera :<br /></span><i><span style="font-family:Calibri;font-size:medium;"><span style="color:#ff9900;">Le nom de la mesure :</span> <br /></span></i><span style="font-family:Calibri;font-size:medium;">Somme 3 Mois<br /></span><span style="color:#ff9900;"><i><span style="font-family:Calibri;font-size:medium;">Le calcul :</span></i></span><span style="font-family:Calibri;font-size:medium;">:=CALCULATE([Total Vente];</span></p>
<p><span style="color:#ff9900;"><i><span style="font-family:Calibri;font-size:medium;">Le filtre :</span></i></span><span style="font-family:Calibri;font-size:medium;">DATESINPERIOD(</span></p>
<p><span style="color:#ff9900;"><i><span style="font-family:Calibri;font-size:medium;">La table et la colonne de date :</span></i></span><span style="font-family:Calibri;font-size:medium;">Temps[date];</span></p>
<p><i><span style="font-family:Calibri;font-size:medium;"><span style="color:#ff9900;">La derni&egrave;re date du contexte :</span> </span></i><span style="font-family:Calibri;font-size:medium;">LASTDATE(Temps[date]);</span></p>
<p><span style="color:#ff9900;"><i><span style="font-family:Calibri;font-size:medium;">L&#39;intervalle :</span></i></span><span style="font-family:Calibri;font-size:medium;">-3;</span></p>
<p><span style="color:#ff9900;"><i><span style="font-family:Calibri;font-size:medium;">Le type d&#39;intervalle :</span></i></span><span style="font-family:Calibri;font-size:medium;">Month<br /></span><span style="font-family:Calibri;font-size:medium;">)</span><span style="font-family:Calibri;font-size:medium;">)<br /></span><span style="font-family:Calibri;font-size:medium;">Ce qui donne : <br /></span><span style="font-family:Calibri;font-size:medium;">Somme 3 Mois:=CALCULATE([Total Vente];DATESINPERIOD(Temps[date];LASTDATE(Temps[date]);-3;Month))</span><span style="font-family:Calibri;font-size:medium;"><br /></span><span style="font-family:Calibri;font-size:medium;">Et dans PowerPivot : </span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P1I7.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P1I7.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P1I7.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P1I7.png" border="0" /></a><span style="font-family:Calibri;font-size:medium;"><br />Ensuite pour calculer la moyenne, on ne va pas se contenter de diviser par 3 mais on va diviser par le nombre de mois de la p&eacute;riode de r&eacute;f&eacute;rence fournie par DATESINPERIOD et pour cela, on utilisera une autre fonctions bien pratique : <br /></span><span style="font-family:Calibri;"><span style="font-size:medium;"><b>DISTINCTCOUNT</b>, le r&ocirc;le de cette fonction est de compter le nombre d&#39;&eacute;l&eacute;ment indiqu&eacute; dans une table fournie. <br /></span></span><span style="font-family:Calibri;font-size:medium;">Pour la table, nous fourniront le r&eacute;sultat de DATESINPERIOD. <br /></span><span style="font-family:Calibri;font-size:medium;">Soit : <br /></span><span style="font-family:Calibri;font-size:medium;">DISTINCTCOUNT(Mois, table de dates fournies)<br /></span><span style="font-family:Calibri;font-size:medium;">La formule finale est donc :&nbsp;<br /></span><i><span style="font-family:Calibri;font-size:medium;"><span style="color:#ff9900;">Le nom de la mesure :</span> </span></i><span style="font-family:Calibri;font-size:medium;">MM 3 Mois<br /></span><span style="color:#ff9900;"><i><span style="font-family:Calibri;font-size:medium;">Le calcul :</span></i></span><span style="font-family:Calibri;font-size:medium;">:=[Somme 3 Mois] / CALCULATE(<br /></span><span style="color:#ff9900;"><i><span style="font-family:Calibri;font-size:medium;">Le nombre de mois :</span></i></span><span style="font-family:Calibri;font-size:medium;">DISTINCTCOUNT(Temps[Nom Mois]);</span><span style="font-family:Calibri;font-size:medium;"><br /></span><span style="color:#ff9900;"><i><span style="font-family:Calibri;font-size:medium;">Le filtre :</span></i></span><span style="font-family:Calibri;font-size:medium;">DATESINPERIOD(<br /></span><span style="color:#ff9900;"><i><span style="font-family:Calibri;font-size:medium;">La table et la colonne de date :</span></i></span><span style="font-family:Calibri;font-size:medium;">Temps[date];<br /></span><i><span style="font-family:Calibri;font-size:medium;"><span style="color:#ff9900;">La derni&egrave;re date du contexte :</span> </span></i><span style="font-family:Calibri;font-size:medium;">LASTDATE(Temps[date]);<br /></span><span style="color:#ff9900;"><i><span style="font-family:Calibri;font-size:medium;">L&#39;intervalle :</span></i></span><span style="font-family:Calibri;font-size:medium;">-3;<br /></span><span style="color:#ff9900;"><i><span style="font-family:Calibri;font-size:medium;">Le type d&#39;intervalle :</span></i></span><span style="font-family:Calibri;font-size:medium;">Month</span><span style="font-family:Calibri;font-size:medium;">))<br /></span><span style="font-family:Calibri;font-size:medium;">Ce qui donne : </span><span style="font-family:Calibri;font-size:medium;">MM 3 Mois:=[Somme 3 Mois]/CALCULATE(DISTINCTCOUNT(Temps[Nom Mois]);DATESINPERIOD(Temps[date];LASTDATE(Temps[date]);-3;Month))</span></p>
<p><span style="font-family:Calibri;font-size:medium;">Notre GCD est maintenant : </span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P1I8.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P1I8.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P1I8.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P1I8.png" border="0" /></a></p>
<p><b><span style="font-family:Calibri;font-size:medium;">Pour Aller plus loin : <br /></span></b><span style="font-family:Calibri;font-size:medium;">J&#39;ajoute &agrave; mon classeur Power Pivot une table li&eacute;e&nbsp; contenant les sous-ensembles de moyennes mobiles possibles : </span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P1I9.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P1I9.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P1I9.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P1I9.png" border="0" /></a></span></p>
<p><span style="font-family:Calibri;font-size:medium;">Je trie la colonne sous ensemble par ordre mois : </span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P1I10.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P1I10.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P1I10.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P1I10.png" border="0" /></a></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span><span style="font-family:Calibri;font-size:medium;">Dans ma table DIM_MM je cr&eacute;er une mesure pour r&eacute;cup&eacute;rer la variable s&eacute;lectionn&eacute;e dans le contexte : </span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P1I11.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P1I11.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P1I11.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P1I11.png" border="0" /></a></span></p>
<p><span style="font-family:Calibri;font-size:medium;">Je modifie mes formules pour ajouter la variable MM S&eacute;lectionn&eacute; soit :<br /></span><span style="font-family:Calibri;font-size:medium;">Somme variable Mois:=CALCULATE([Total Vente];DATESINPERIOD(Temps[date];IF([MM selectionn&eacute;]&lt;0;LASTDATE(Temps[date]);FIRSTDATE(Temps[date]));[MM selectionn&eacute;];Month))<br /></span><span style="font-family:Calibri;font-size:medium;">Et <br /></span><span style="font-family:Calibri;font-size:medium;">MM Variable Mois:=[Somme variable Mois]/CALCULATE(DISTINCTCOUNT(Temps[Nom Mois]);DATESINPERIOD(Temps[date];IF([MM selectionn&eacute;]&lt;0;LASTDATE(Temps[date]);FIRSTDATE(Temps[date]));[MM selectionn&eacute;];Month))<br /></span><i><span style="font-family:Calibri;font-size:medium;">Note : Le IF permet de d&eacute;terminer si mon nombre de mois est positif ou n&eacute;gatif, dans le cas ou ma moyenne se fait sur un intervalle de x mois apr&egrave;s ma date courante, il faut utilis&eacute; FIRSTDATE pour inclure le mois en cours au lieu de LASTDATE.<br /></span></i><span style="font-family:Calibri;font-size:medium;">On refait le GCD avec notre nouvelle mesure et on y ajoute un sclicer pour la s&eacute;lection du sous ensemble : </span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P1I12.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P1I12.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/90/P1I12.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-90/P1I12.png" border="0" /></a></p>]]></content:encoded>
    </item>
  </channel>
</rss>