Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
Hi everyone,
I've a PBI report with a lot of page and i have to insert the same image in every report's page.
Can i insert the image in every page all in once or i have to insert the image one by one in every page?
Thank you
Solved! Go to Solution.
Your solution is so great Expiscornovus
Hi, @RFederer
Here's a simple solution:
Start by creating a new page with your current report (don't include any visuals) and insert the logo:
Save the screenshot as follows:
Here's a picture file I've made:
Then look for an image-to-base64 website on the Internet:
Complex this code. Then create a new Jason file and use the following structure
{
"name": "Theme name",
"visualStyles": {
"page": {
"*": {
"background": [
{
"image": {
"name": "image",
"scaling": "Fit",
"url": "Paste the base64 code of the image"
},
"transparency": 0
}
]
}
}
}
}
Paste the previously converted code into the specified position in the structure above.
Then, use this theme in our report as follows:
Use our theme files:
Here are the results:
Best Regards
Jianpeng Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @RFederer,
Out of interest, is this like a company logo? Otherwise you could use custom branding.
https://learn.microsoft.com/en-us/fabric/admin/service-admin-custom-branding
Alternatively you could use a page background as well for this.
Or create a custom theme, like in this video: https://www.youtube.com/watch?v=GfonCEjQ13I
yes, is a company logo. Thanks
Your solution is so great Expiscornovus
Hi, @RFederer
Here's a simple solution:
Start by creating a new page with your current report (don't include any visuals) and insert the logo:
Save the screenshot as follows:
Here's a picture file I've made:
Then look for an image-to-base64 website on the Internet:
Complex this code. Then create a new Jason file and use the following structure
{
"name": "Theme name",
"visualStyles": {
"page": {
"*": {
"background": [
{
"image": {
"name": "image",
"scaling": "Fit",
"url": "Paste the base64 code of the image"
},
"transparency": 0
}
]
}
}
}
}
Paste the previously converted code into the specified position in the structure above.
Then, use this theme in our report as follows:
Use our theme files:
Here are the results:
Best Regards
Jianpeng Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.