Forum Discussion

dofrancis3's avatar
dofrancis3
Resolver I
1 year ago
Solved

Display dynamically multiple image based to selection

Dear Colleagues as you can see in the snapshot below, i'll like to display image and the value accordinglly.

Par example if i select Familly i need to display only the image of familly and the value., all so if i select to values i need to have two images and value.....How can i do it in power bi?

 

 

8 Replies

  • Please provide a more detailed explanation of what you are aiming to achieve. What have you tried and where are you stuck?  Which visual are you planning to use?  Did you inline the images as Base64 text?

    • dofrancis3's avatar
      dofrancis3
      Resolver I

      Dear lbendlindharmendars007Jihwan_Kim, and @All

      1. I have my dataset (image below)
      2. I have a drop-down list to select different services

      Power BI output: 
      3. I would like to display image, label and number of services for each type of service when selecting one or more services.
      4. For example, if I choose Legal assistance, only the image, the label (Legal assistance) and the number (5) will be displayed. The others will be hidden.
      5. Note that before selecting a service in the drop-down list, everything (label, image and number) is hidden.

      Please see the snapshot below:

       

      • lbendlin's avatar
        lbendlin
        Super User

        Did you inline the images as Base64 text?

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi dofrancis3 ,

     

    lbendlin  makes a good point that this is something to consider in this process. So, I created an example using URL images.


    Based on your description, I created two tables and created a one-to-many relationship for them.

     

    The appropriate fields are placed into the table and slicer visual objects respectively. More details can be found in the attachment.

    If your Current Period does not refer to this, please clarify in a follow-up reply.

     

    Best Regards,

    Clara Gong

    If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.