Last active
March 7, 2017 18:14
-
-
Save deldersveld/bda87b35228c88702a7aab941d1f4436 to your computer and use it in GitHub Desktop.
Use this code in a Power BI calculated column to enhance the default tooltip in the ArcGIS Maps for Power BI visual
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HTML Tooltip = "<img src='https://www.blue-granite.com/hs-fs/hub/257922/file-2333776730-png/IMG_2015/Blue-Granite-Logo.png' width='200px' /><br>" & | |
"<br>Reported: <em>" & Table1[OutageReported] & "</em>" & | |
"<br>Restoration Est: <em>" & Table1[RestorationEstimate] & "</em>" & | |
"<br><br><table bordercolor='#FFFFFF' cellspacing='8'><tr>" & | |
"<th style='color:#01B8AA;'>Customers Affected</th><th style='color:#01B8AA;'>Status</th></tr><tr>" & | |
"<td style='color:#" & IF(Table1[Number of Customers Affected] > 50,"DD0000","FFFFFF") & ";'>" & Table1[Number of Customers Affected] & "</td>" & | |
"<td>" & Table1[Status] & "</td></tr></table>" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment