Using Local Images in PowerBI Desktop

Поділитися
Вставка
  • Опубліковано 5 жов 2024

КОМЕНТАРІ • 54

  • @zacs7971
    @zacs7971 2 роки тому +10

    posting the Mcode for future copiers
    let
    BinaryToPbiImage = (BinaryContent as binary) as text =>
    let
    Base64 = "data:image/png;base64, " & Binary.ToText(BinaryContent,BinaryEncoding.Base64)
    in
    Base64
    in
    BinaryToPbiImage

  • @mirrrvelll5164
    @mirrrvelll5164 Рік тому +1

    Superb solution, did it now, functioning like a charm.

  • @Ppalomma4
    @Ppalomma4 4 дні тому

    Thank you for your explanation

  • @rohlife3607
    @rohlife3607 3 роки тому +7

    Thanks for this informative video, I ran into a problem where my image was over 200KB, and only the top portion of the image was displayed. I also tried reducing the image size by resizing, when I do that the image is distorted. Is there any workaround for this? what is the size of the image you used to build this model?. Thanks.

    • @matsingh9490
      @matsingh9490 3 роки тому

      FYI, there is a recent update in Chris Webbs blog to store large pictures in BI datasets, as an alternative to David solution.
      blog.crossjoin.co.uk/2019/05/19/storing-large-images-in-power-bi-datasets/
      (just saw it by clicking on the link you provided to reach Gerhards blog)

    • @wooyeongjeong7405
      @wooyeongjeong7405 2 роки тому

      Hi this video is very helpful. Meanwhile, i have the same issue here. was there any solutions for large image sizes?

    • @TV-mg2sz
      @TV-mg2sz 2 роки тому

      @@wooyeongjeong7405 Hi, to make sure that pics will be loded properly, re-size them to max 200x200. This fix the issue with loading only~10% of the pic.

    • @bside3657
      @bside3657 7 місяців тому

      A little bit late but there is a solution for higher resolution images. As it you can only store a little bit more than 32'000 characters in a Power Query column you have to split the entire binary string into multiple columns where each is not longer than 32000 characters. In Power BI DAX you can then create a new column and merge all those Binary columns together into one column (as in Power BI DAX you can store 2Mio characters in one column). Change this column to a Image URL type and use it for the simple image. This works for me.

  • @AbhishekGupta-ho8se
    @AbhishekGupta-ho8se 4 роки тому

    Thanks Mr. Gupta for this useful video, it really helped me in one of the PowerBi projects.

  • @manishalive
    @manishalive Рік тому

    Well I am a beginner to Power BI and your tool was excellent way of adding dynamic images. Great job there, however only one image comes up even with none selection and remains the same with any of the selection. What I am doing wrong. Your way was very simple but looks like I would need more help :)

  • @ketanbutte3497
    @ketanbutte3497 4 роки тому +2

    Thanks for the video. I have a question- Will this work if i publish the report in powerbi service?
    Will the users be able to access the images?

  • @supriyanadkarni22
    @supriyanadkarni22 3 роки тому

    very helpful training video. Somehow some images do not appear properly, not sure what size to keep

  • @datapanda_0
    @datapanda_0 2 роки тому

    Dude, absolutely beautiful. Thank you. Subscribed!

  • @siddheshsangare9593
    @siddheshsangare9593 9 місяців тому

    Thank you for this helpful information

  • @fraz3188
    @fraz3188 2 роки тому +1

    Thanks for sharing the video; this is exactly what I needed. Unfortunately I am only able to see the top 10% of the images that I have included using this technique. Can you please advise? Each picture is only ~100kb.

    • @Jester75y
      @Jester75y 2 роки тому

      I have the same issue. My images are bmp. Any idea how to convert bmp's to binary?

    • @TV-mg2sz
      @TV-mg2sz 2 роки тому

      @@Jester75y Hi, to make sure that pics will be loded properly, re-size them to max 200x200. This fix the issue with loading only~10% of the pic.

    • @alicjaosiak8033
      @alicjaosiak8033 Рік тому

      @@TV-mg2sz I didn't help me :( my photo is 190x88 and still there is 10%

    • @Meven2001
      @Meven2001 Рік тому

      @@TV-mg2sz It didn't solve the problem. I have image at 1500x1118 which are fine at 100% and some at 308x661 which are 50% and some at 10%...

    • @Meven2001
      @Meven2001 Рік тому

      Ok, i found a solution. Simply optimize your picture. I gain 10 to 80% (passing from 100% quality to 50% and the quality is not bad). And now i see 100% of my image. It shorten the base64. Great for me.

  • @cobyiv
    @cobyiv 2 роки тому

    such a clutch workflow, thx!

  • @jantrummel5509
    @jantrummel5509 8 місяців тому

    Very good video. Thank you!

  • @Cam-ck6sc
    @Cam-ck6sc 9 місяців тому

    Thanks so much for your tutorial

  • @NishantVarshney-g1e
    @NishantVarshney-g1e Місяць тому

    it is really helpful but how it will work once we publish the file..

  • @sandeepjoshi7015
    @sandeepjoshi7015 4 роки тому +1

    Hi This video really useful for me. I can add the images in my report as you shown in your video, but i cannot see my image completely, its shows me only 10%, like i want to add room picture but in my report I can see only roof & light of the room. Can you please help me how I can see full image?

    • @matsingh9490
      @matsingh9490 3 роки тому

      FYI, there is a recent update in Chris Webbs blog to store large pictures in BI datasets, as an alternative to David solution.
      blog.crossjoin.co.uk/2019/05/19/storing-large-images-in-power-bi-datasets/
      (just saw it by clicking on the link you provided to reach Gerhards blog)

    • @TV-mg2sz
      @TV-mg2sz 2 роки тому

      Hi, to make sure that pics will be loded properly, re-size them to max 200x200. This fix the issue with loading only~10% of the pic.

  • @ashishmohan4707
    @ashishmohan4707 3 роки тому

    Hi very useful video and very practical need everyone for every project ......very big thanks to share with us.
    If it can possible can you plzz provide us excel data file which you used.
    Very greatful for us...👌👌👌👌👌👌👌👌💐💐💐💐🎂🎂🎂🎂🎂🎂🎂🎂🎂🎂🎂🎂

  • @juliom6260
    @juliom6260 11 місяців тому

    Can't see those images at PBI Service. Any solution when sharing rapports?

  • @prasadpatil9706
    @prasadpatil9706 2 роки тому

    Perfect..!!Thank U Sir😊

  • @andress37
    @andress37 4 місяці тому

    I don't have the SIMPLE VISUAL, how can I get it without a business account?

  • @raivisbalodis4827
    @raivisbalodis4827 Рік тому

    Can we get a sample file/folder used for example in video?

  • @prajaktasonawane3558
    @prajaktasonawane3558 3 роки тому

    Hi, the video is really informative. I have one quick question if I want to import an image which is stored in SQL Server I'm DirectQuery mode. How can I do that?

  • @stopthink9000
    @stopthink9000 3 роки тому

    Brilliant! Tyvm for this!

  • @MamagCo
    @MamagCo 6 місяців тому

    Very Cool! Thx!

  • @tanunagar5906
    @tanunagar5906 3 роки тому

    Hi Sir, in this video how you created this choose a parameter slicer. Please help.

  • @powerbiselfstudyguide
    @powerbiselfstudyguide 2 роки тому

    Dear Nice Software Team, i also need M code for PDF File. Your kind & urgent support is requested.

  • @hamidrezamohammadzadeh6807
    @hamidrezamohammadzadeh6807 4 роки тому

    Dear Mr.Gupta thanks for sharing, but I have problem with this code and it don't run and i get error that : "Expression.Error: The name 'BinaryEnconding.Base64' wasn't recognized. Make sure it's spelled correctly."
    What is the Problem ?!

  • @dasarikumar5966
    @dasarikumar5966 3 роки тому

    Hi, Thanks for the video. I have a question. My dataset tries to connect to my local folder using gateway during every refresh cycle and if my system is offline, the refresh fails. Since all images loaded to Dataset, is there a way to exclude table from connecting to local folder?

    • @TV-mg2sz
      @TV-mg2sz 2 роки тому

      Hi, to make sure that pics will be loded properly, re-size them to max 200x200. This fix the issue with loading only~10% of the pic.

  • @coffee_n_code
    @coffee_n_code 2 роки тому

    AMaizing.,!!!!

  • @남은재-d9z
    @남은재-d9z 3 роки тому

    Thank you Sir

  • @chevasflorian4055
    @chevasflorian4055 3 роки тому

    You rock!

  • @hoaiphuc9764
    @hoaiphuc9764 3 роки тому

    Perfect.

  • @ramakrishnaravula8768
    @ramakrishnaravula8768 4 роки тому

    Thank you Sir