Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in BI by (11.1k points)
How can I load pictures in Power Bi,whose size are larger than 32kb to show just a part of the image,How can I do this?

1 Answer

0 votes
by (22.5k points)

Use the following DAX function

Display Image =
IF(
    HASONEVALUE('PQ Pics'[Name]),
    "data:image/jpeg;base64, " &
    CONCATENATEX(
        'PQ Pics',
        'PQ Pics'[Pic],
        ,
        'PQ Pics'[Index],
        ASC)
        )

and set the data category of the measures in the image "URL"

enter image description here

and display value of image in a report

enter image description here

Want to learn more about Power Bi, Refer: Power Bi Training    

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...