Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
rolopezteteruk
Frequent Visitor

Dashboard image not fitting

Hello I'm making a dashboard from a power bi report and I need to attach some images that are in the report. But when i place them in the dashboard it takes a lot of space and does not fit as I wanted.

This is the report, and the way I want it to look:

rolopezteteruk_1-1661281777564.png

And this is the dashboard:

rolopezteteruk_2-1661281858510.png

 

could you help me please? 

 

1 ACCEPTED SOLUTION
v-luwang-msft
Community Support
Community Support

HI  @rolopezteteruk ,

There is no option to resize images directly. You need to define the properties with JSON code and upload the theme file into dashboard.

{
"imageHeight": {
          "type": [
            "numeric"
          ],
          "displayName": [
            "Image height"
          ],
          "description": [
            "The height of images in pixels"
          ]
        },
"imageScaling": {
        "imageScalingType": [
          {
            "value": "Normal",
            "displayName": "Normal"
          },
          {
            "value": "Fit",
            "displayName": "Fit"
          },
          {
            "value": "Fill",
            "displayName": "Fill"
          }
        ]
    }
}


Reference:

https://docs.microsoft.com/en-us/power-bi/desktop-report-themes#report-theme-json-file-format

https://community.powerbi.com/t5/Desktop/Dashboard-Background-Image-Size/m-p/924565 

 

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

Best Regards,
Lucien

View solution in original post

1 REPLY 1
v-luwang-msft
Community Support
Community Support

HI  @rolopezteteruk ,

There is no option to resize images directly. You need to define the properties with JSON code and upload the theme file into dashboard.

{
"imageHeight": {
          "type": [
            "numeric"
          ],
          "displayName": [
            "Image height"
          ],
          "description": [
            "The height of images in pixels"
          ]
        },
"imageScaling": {
        "imageScalingType": [
          {
            "value": "Normal",
            "displayName": "Normal"
          },
          {
            "value": "Fit",
            "displayName": "Fit"
          },
          {
            "value": "Fill",
            "displayName": "Fill"
          }
        ]
    }
}


Reference:

https://docs.microsoft.com/en-us/power-bi/desktop-report-themes#report-theme-json-file-format

https://community.powerbi.com/t5/Desktop/Dashboard-Background-Image-Size/m-p/924565 

 

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

Best Regards,
Lucien

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors