Forum Discussion

Bodo's avatar
Bodo
Icon for Helper I rankHelper I
2 years ago

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:


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:

Thanks

Bodo

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    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.