Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

highlight specific rows in matrix

Hi All, 

 

I have a table and would like to be able to highlight certain rows. I would like to be able to bold or use a background colour on the bolded items like revenue and profit (as shown below). I understand that theres not an option to highlight specific items but i am wondering if anyone has a workaround. My table looks somewhat like this: 

 

Revenue 

Staff cost 

Overheads 

Claims 

Gross margin 

Expenses

proceeds

Profit

 

 

Thanks all for your suggestions! 

 

 

  • You can use conditional formatting but you will need to apply it to each column in your table:

    Formatting = IF(SELECTEDVALUE('Table'[Column2]) = "qd" ; 1 ; IF( SELECTEDVALUE('Table'[Column2]) = "2q" ; 2 ; 0 ))

    Hope it helps,
    J



8 Replies

  • tex628's avatar
    tex628
    Community Champion

    You can use conditional formatting but you will need to apply it to each column in your table:

    Formatting = IF(SELECTEDVALUE('Table'[Column2]) = "qd" ; 1 ; IF( SELECTEDVALUE('Table'[Column2]) = "2q" ; 2 ; 0 ))

    Hope it helps,
    J



  • az38's avatar
    az38
    Community Champion

    Hi Anonymous 

    you can create a column (column1 in my example) in this table which will have value="red" for your selected columns and be blank for other.

    then use the conditional formatting function (vizualization pane - values - column - conditional formatting - background):

     

    Result will look like this

     

    do not hesitate to give a kudo to useful posts and mark solutions as solution

  • Anonymous's avatar
    Anonymous
    Not applicable

    My suggest would be to create a grouping table in excel then relate it to your data then you can set up stacked rows much like I did here:

     

     

    They will automatically be bolded and then you can use conditional formatting by clicking the drop down arrow in the visualizations fields box as the other responders have suggested. This is what the excel looks like. The numbers relate to the office name and the office names all fall under regional jurisdictions. You can use the same concept for accounts falling under sections of a financial statement.

     

     

    If this works for you please accpet it as the solution. Got to get them badges. 😂

    • Anonymous's avatar
      Anonymous
      Not applicable

      Thanks for the suggestion 🙂

       

      I did consider that but do you know if the top level can be positioned to the bottom instead?