<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Populate a Tooltip from a Data Dictionary in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Populate-a-Tooltip-from-a-Data-Dictionary/m-p/4871128#M12911</link>
    <description>&lt;P&gt;Sure!&amp;nbsp; For metric - the specifics aren't all that important, but as I'm doing reports on metrics, they would be the data fields I would input.&amp;nbsp; For example, I may have multiple reports that have 'Days in Warehouse', and I would want to make sure that the ToolTip defining the 'Days in Warehouse' metric is the same across reports by having them populate from a single location.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For ToolTip - I mean the PowerBI Tooltips (sorry, I have only heard them referred to as that).&amp;nbsp; The pop up that shows up when you hover over a visual to give you more information.&lt;/P&gt;</description>
    <pubDate>Mon, 10 Nov 2025 14:19:30 GMT</pubDate>
    <dc:creator>Erosenthal</dc:creator>
    <dc:date>2025-11-10T14:19:30Z</dc:date>
    <item>
      <title>Populate a Tooltip from a Data Dictionary</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Populate-a-Tooltip-from-a-Data-Dictionary/m-p/4869556#M12904</link>
      <description>&lt;P&gt;I'm on a mission to standardize the definitions for various metrics/variables in my company's PowerBI reports, and would like to have the tooltip include a definition populated from a separate source (right now we're talking about having it be a sharepoint list, but that shouldn't be a sticking point). That way, no matter who is creating the report, we'd have a standard definition ready for the tooltip.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only way I've found to do this is to create a tooltip page for each metric, which seems a little cumbersome to me.&amp;nbsp; Is there a better way? I've investigated possibly using python for this (&lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/visuals/add-tooltips" target="_self"&gt;looks like I should be able to get the gettooltip method described here to work&lt;/A&gt;), but also I'm very much a beginner at python, so I don't want to spend too much time on it if there's another solution.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Nov 2025 22:05:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Populate-a-Tooltip-from-a-Data-Dictionary/m-p/4869556#M12904</guid>
      <dc:creator>Erosenthal</dc:creator>
      <dc:date>2025-11-07T22:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Populate a Tooltip from a Data Dictionary</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Populate-a-Tooltip-from-a-Data-Dictionary/m-p/4869586#M12905</link>
      <description>&lt;P&gt;Please clarify what you mean by "metric" . Measures?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please clarify what you mean by "tooltip".&amp;nbsp; Descriptions?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lbendlin_0-1762557565846.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1308298iB98BDA234D44F69A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lbendlin_0-1762557565846.png" alt="lbendlin_0-1762557565846.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Nov 2025 23:19:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Populate-a-Tooltip-from-a-Data-Dictionary/m-p/4869586#M12905</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2025-11-07T23:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: Populate a Tooltip from a Data Dictionary</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Populate-a-Tooltip-from-a-Data-Dictionary/m-p/4871128#M12911</link>
      <description>&lt;P&gt;Sure!&amp;nbsp; For metric - the specifics aren't all that important, but as I'm doing reports on metrics, they would be the data fields I would input.&amp;nbsp; For example, I may have multiple reports that have 'Days in Warehouse', and I would want to make sure that the ToolTip defining the 'Days in Warehouse' metric is the same across reports by having them populate from a single location.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For ToolTip - I mean the PowerBI Tooltips (sorry, I have only heard them referred to as that).&amp;nbsp; The pop up that shows up when you hover over a visual to give you more information.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Nov 2025 14:19:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Populate-a-Tooltip-from-a-Data-Dictionary/m-p/4871128#M12911</guid>
      <dc:creator>Erosenthal</dc:creator>
      <dc:date>2025-11-10T14:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: Populate a Tooltip from a Data Dictionary</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Populate-a-Tooltip-from-a-Data-Dictionary/m-p/4883296#M12931</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1393542"&gt;@Erosenthal&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;For&amp;nbsp;doing standardized tooltips from a data dictionary there is about 3 or 4 approaches you can try&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="4" color="#FF0000"&gt;&lt;STRONG&gt;First Approach&lt;/STRONG&gt;&lt;/FONT&gt;:&lt;/P&gt;&lt;P&gt;you can use&amp;nbsp;Field Parameters and Data Dictionary Table to achieve this:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Create your Data Dictionary table in Power Query:&lt;/LI&gt;&lt;/UL&gt;&lt;LI-CODE lang="markup"&gt;// Just An Example
let
    Source = Table.FromRows({
        {"Days in Warehouse", "Number of calendar days an item has been in warehouse storage", "Operations"},
        {"Inventory Turnover", "Cost of goods sold divided by average inventory", "Finance"},
        {"Order Fill Rate", "Percentage of orders completely filled from stock", "Operations"}
    }, type table [Metric=text, Definition=text, Category=text])
in
    Source&lt;/LI-CODE&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Then create &lt;STRONG&gt;relationships &lt;/STRONG&gt;between your &lt;FONT color="#FF0000"&gt;fact tables&lt;/FONT&gt; and the &lt;FONT color="#FF0000"&gt;data dictionary&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;Also use the &lt;STRONG&gt;Definition field&lt;/STRONG&gt; directly in &lt;STRONG&gt;tooltips&lt;/STRONG&gt; by adding it to the &lt;STRONG&gt;Tooltips field&lt;/STRONG&gt; in your &lt;STRONG&gt;visuals&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;&lt;FONT color="#99CC00"&gt;Second Approach&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;:&lt;/P&gt;&lt;P&gt;If you prefer &lt;STRONG&gt;DAX&lt;/STRONG&gt; you can use calculated columns with &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;LOOKUPVALUE&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Definition = 
LOOKUPVALUE(
    'Data Dictionary'[Definition],
    'Data Dictionary'[Metric], [Your Metric Field]
)&lt;/LI-CODE&gt;&lt;P&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;&lt;FONT color="#33CCCC"&gt;Third Approach&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;:&lt;/P&gt;&lt;P&gt;Create a single reusable tooltip page that works for all metrics:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN&gt;Create one tooltip report page&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Add a measure that detects the current contxt:&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;LI-CODE lang="markup"&gt;Current Metric Definition = 
VAR CurrentMetric = SELECTEDVALUE('Table'[Metric Name])
RETURN
CALCULATE(
    SELECTEDVALUE('Data Dictionary'[Definition]),
    'Data Dictionary'[Metric] = CurrentMetric
)&lt;/LI-CODE&gt;&lt;UL&gt;&lt;LI&gt;Finally use this measure in your &lt;STRONG&gt;tooltip page&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT size="4" color="#FFFF00"&gt;&lt;STRONG&gt;Bonus Approach&lt;/STRONG&gt;&lt;/FONT&gt;:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;This is the &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&lt;FONT size="4"&gt;modern&lt;/FONT&gt; &lt;/STRONG&gt;&lt;/FONT&gt;approach which you can use field Parameters to create dynamic metrics then combine with your data dictionary&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I recommend you &lt;FONT face="comic sans ms,sans-serif" size="4" color="#FF0000"&gt;&lt;STRONG&gt;Approach No.1&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;as it is the most &lt;STRONG&gt;Straightforward&lt;/STRONG&gt; and &lt;STRONG&gt;Maintainable Solution &lt;span class="lia-unicode-emoji" title=":confetti_ball:"&gt;🎊&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":red_heart:"&gt;❤️&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;EM&gt;if this post helps, then I would appreciate a thumbs up&lt;/EM&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;EM&gt;and&amp;nbsp;&lt;STRONG&gt;mark it as the solution&lt;/STRONG&gt;&amp;nbsp;&lt;/EM&gt;&lt;EM&gt;to help the other members find it more quickly.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Nov 2025 19:40:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Populate-a-Tooltip-from-a-Data-Dictionary/m-p/4883296#M12931</guid>
      <dc:creator>Ahmed-Elfeel</dc:creator>
      <dc:date>2025-11-23T19:40:12Z</dc:date>
    </item>
  </channel>
</rss>

