Need different alignment types for columns

Below is a tranposed table, I need the 1st column to be left aligned while the rest of the numerics as center aligned, how can this be resolved?

Best Answer

  • david_cunningham
    edited May 15 Answer ✓

    @chetan_cricut if by first column, you mean the first column non-transposed, ie. Average daily projects.

    You could do something like this.

    CONCAT('<p style="text-align:left;">',SUM(value),'</p>')
    

    Keep in mind that concat removes the ability to use the native domo formatting. So you'll have to do the formatting in your beast mode.

    Note that this will only work in an HTML table. HTML tables unfortunately don't have a transpose option, which means you would need to restructure your data

    David Cunningham

    ** Was this post helpful? Click Agree 😀, Like 👍️, or Awesome ❤️ below **
    ** Did this solve your problem? Accept it as a solution! ✔️**

Answers

  • david_cunningham
    edited May 15 Answer ✓

    @chetan_cricut if by first column, you mean the first column non-transposed, ie. Average daily projects.

    You could do something like this.

    CONCAT('<p style="text-align:left;">',SUM(value),'</p>')
    

    Keep in mind that concat removes the ability to use the native domo formatting. So you'll have to do the formatting in your beast mode.

    Note that this will only work in an HTML table. HTML tables unfortunately don't have a transpose option, which means you would need to restructure your data

    David Cunningham

    ** Was this post helpful? Click Agree 😀, Like 👍️, or Awesome ❤️ below **
    ** Did this solve your problem? Accept it as a solution! ✔️**