<?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: How to display Base 64 PNG images from a database in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/How-to-display-Base-64-PNG-images-from-a-database/m-p/1178467#M14733</link>
    <description>&lt;P&gt;Try converting it like;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;=Convert.FromBase64String(Fields!Delivery_Signature.Value)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jun 2020 07:29:35 GMT</pubDate>
    <dc:creator>saglamtimur</dc:creator>
    <dc:date>2020-06-24T07:29:35Z</dc:date>
    <item>
      <title>How to display Base 64 PNG images from a database</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/How-to-display-Base-64-PNG-images-from-a-database/m-p/1177424#M14730</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a Power App which has a signature field. I want to be able to bring the signature image into the Report Builder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The image is in Base64 format stored on Sharepoint. I have created a Power BI report and used this as my datasource for report builder. I successfully displayed the signature image in a Power BI table in this format but cannot bring it into the Report Builder. Here is an example of the binary image.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data&amp;amp;colon;image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAV4AAACWCAYAAACW5+B3AAAEyklEQVR4Xu3UwQkAAAgDMbv/0m ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Settings used when inserting the image:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have selected the image source as -&amp;nbsp; 'Database'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Use this field -&amp;nbsp; '=First(Fields!Delivery_Signature.Value, "DataSet")'&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Use this MIME type - 'image/png.'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run the report the image is only shown as a red 'x' in the top left hand corner.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated. Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2020 19:41:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/How-to-display-Base-64-PNG-images-from-a-database/m-p/1177424#M14730</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-23T19:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to display Base 64 PNG images from a database</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/How-to-display-Base-64-PNG-images-from-a-database/m-p/1178467#M14733</link>
      <description>&lt;P&gt;Try converting it like;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;=Convert.FromBase64String(Fields!Delivery_Signature.Value)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2020 07:29:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/How-to-display-Base-64-PNG-images-from-a-database/m-p/1178467#M14733</guid>
      <dc:creator>saglamtimur</dc:creator>
      <dc:date>2020-06-24T07:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to display Base 64 PNG images from a database</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/How-to-display-Base-64-PNG-images-from-a-database/m-p/1178760#M14734</link>
      <description>&lt;P&gt;I used the suggested formula with an aggregate function but the image is not displaying. Is there something wrong with the formula I used?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=First(Convert.FromBase64String(Fields!Delivery_Signature.Value),"DataSet")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2020 08:57:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/How-to-display-Base-64-PNG-images-from-a-database/m-p/1178760#M14734</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-24T08:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to display Base 64 PNG images from a database</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/How-to-display-Base-64-PNG-images-from-a-database/m-p/1178811#M14735</link>
      <description>&lt;P&gt;I have double check with my data. Actually you don't need to convert it. What I realized is this portion "data&amp;amp;colon;image/png;base64," or similar&amp;nbsp;definition is not exist in my data. May be removing this part from data will solve your problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=Replace(First(Fields!Delivery_Signature.Value, "DataSet"),"data&amp;amp;colon;image/png;base64,","")&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2020 09:14:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/How-to-display-Base-64-PNG-images-from-a-database/m-p/1178811#M14735</guid>
      <dc:creator>saglamtimur</dc:creator>
      <dc:date>2020-06-24T09:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to display Base 64 PNG images from a database</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/How-to-display-Base-64-PNG-images-from-a-database/m-p/1178896#M14736</link>
      <description>&lt;P&gt;I removed the prefix 'data&amp;amp;colon;image/png;base64,' from the Power BI Datasource and it is working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I presume the option choose 'MIME type' reomves the need for the prefix in the binary image where Power BI will automatically select the image type.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2020 09:49:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/How-to-display-Base-64-PNG-images-from-a-database/m-p/1178896#M14736</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-24T09:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to display Base 64 PNG images from a database</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/How-to-display-Base-64-PNG-images-from-a-database/m-p/1626650#M17691</link>
      <description>&lt;P&gt;Can you please provide detail about the data source you are using in your&amp;nbsp;paginated report?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 16:36:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/How-to-display-Base-64-PNG-images-from-a-database/m-p/1626650#M17691</guid>
      <dc:creator>Markzolotoy</dc:creator>
      <dc:date>2021-01-27T16:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to display Base 64 PNG images from a database</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/How-to-display-Base-64-PNG-images-from-a-database/m-p/2868027#M27249</link>
      <description>&lt;P&gt;Hi, hoping this thread is till active.&lt;BR /&gt;I'm trying to do this exact issue.&lt;BR /&gt;That being: Trying to load an image into power bi report builder.&lt;/P&gt;&lt;P&gt;In my datasouce the image is in base64 format.&amp;nbsp;&lt;BR /&gt;In my report I have an image box with 'image source' set to 'database', expression: =First(Fields!binaryImage.Value, "DataSet1")&lt;/P&gt;&lt;P&gt;I removed the &lt;SPAN&gt;'data&amp;amp;colon;image/png;base64,' prefix from the base64 string before it entered my datasource.&amp;nbsp;&lt;BR /&gt;However the image still does not appear.&lt;BR /&gt;Is there anything I'm missing here?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 12:30:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/How-to-display-Base-64-PNG-images-from-a-database/m-p/2868027#M27249</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-27T12:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to display Base 64 PNG images from a database</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/How-to-display-Base-64-PNG-images-from-a-database/m-p/2914332#M27618</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I removed the prefix from the data and in the database my particular column in LongBLOB data type and after&amp;nbsp; using the Replace DAX which one you gave this error is coming .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"The 'Value' expression for the image 'Image3' contains an error: [BC30455] Argument not specified for parameter 'Find' of 'Public Function Replace(Expression As String, Find As String, Replacement As String, [Start As Integer = 1], [Count As Integer = -1], [Compare As Microsoft.VisualBasic.CompareMethod = Microsoft.VisualBasic.CompareMethod.Binary]) As String'.&lt;BR /&gt;----------------------------&lt;BR /&gt;The definition of the report '' is invalid."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please Help me in this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Ashutosh Sahoo&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 05:33:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/How-to-display-Base-64-PNG-images-from-a-database/m-p/2914332#M27618</guid>
      <dc:creator>AshutoshSahoo_1</dc:creator>
      <dc:date>2022-11-18T05:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to display Base 64 PNG images from a database</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/How-to-display-Base-64-PNG-images-from-a-database/m-p/4172205#M36993</link>
      <description>&lt;P&gt;can you please explain how did you fix the this issue as I am struggling to fix it.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 01:46:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/How-to-display-Base-64-PNG-images-from-a-database/m-p/4172205#M36993</guid>
      <dc:creator>GS30</dc:creator>
      <dc:date>2024-09-25T01:46:20Z</dc:date>
    </item>
  </channel>
</rss>

