Forum Discussion

chribster's avatar
chribster
New Member
8 years ago

Image URL in Power BI Desktop not refreshing

I get the pictures to show up correctly. However, if i replace the picture on my local webserver, the old picture is still the one shown in the visual. 

 

I have the following configuration in the report

  • website url for image on a local webserver (not local file path)
  • format column with url to "Image URL"

I've tried rebooting the webserver, refreshing the visual, saving the visual in a new name.

 

The only thing that seems to work is changing the actual URL to trigger an update

3 Replies

  • Rebooting the computer forces a refresh, but should that really be necessary?

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi chribster,

       

      I think this issue more related to local web server cache data, please clean up local cache and try again.

       

      BTW, I test to create a dynamic image url column and it can refresh properly

      Img =
      VAR url1 = "https://static.pexels.com/photos/356378/pexels-photo-356378.jpeg"
      VAR url2 = "xxxxx"
      VAR url3 = "xxxxx"
      VAR url4 = "xxxxx"
      VAR url5 = "xxxxx"
      VAR url6 = "xxxxx"
      RETURN
          SWITCH (
              INT ( SECOND ( NOW () ) / 10 ),
              1, url1,
              2, url2,
              3, url3,
              4, url4,
              5, url5,
              6, url6
          )
      

       

      Regards,

      Xiaoxin Sheng

      • Anonymous's avatar
        Anonymous
        Not applicable

        Just run the %temp%     ( C:\Users\{username}\AppData\Local\Temp)  and delete all the temp files. Before doing above, please close the power bi desktop app.