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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Bodo
Helper I
Helper I

dynamic column width in paginated Report Builder?

Hi everyone,

 

I have an SQL query that outputs the columns task_1, task_2, task_3, task_4 and task_per_id for each ID.
Now I would like to visualize this in a paginated report like this:

task_table.jpg


I thought this would be pretty easy, you simply divide the total space / task_per_id in an expression for the column width,
unfortunately, I cannot find a way to define the width of an object via an expression in the Report Builder.

Does anyone know how I can still get the above layout?

This is my sample report including data:
https://drive.google.com/file/d/1GDntAnrbE-jEgSSQpikVP9p3Pe-rCRKt/view?usp=sharing


At the moment it looks like this:

Bodo_0-1710173423337.png

Thanks

Bodo

1 REPLY 1
v-nuoc-msft
Community Support
Community Support

Hi @Bodo

 

You seem to be trying to set the column widths dynamically.

 

However, in power bi report builder, it is not possible to adjust it dynamically by doing this, you have the option of adjusting it manually.

 

You can view the link below for more details:

 

Change row height or column width in a Power BI paginated report - Power BI | Microsoft Learn

 

Regards, 

Nono Chen 

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

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors