Forum Discussion
Nash2Bos
Helper I
1 year agoHow to unbold and bold certain rows
Hello i have a table that looks like ths
| New York | 1/3/2025 | 1/4/2025 | 1/5/2025 | 1/6/2025 | |
| Plans | 5 | 5 | 5 | 5 | |
| Actuals | 4 | 4 | 4 | 4 | |
| Delta | -1 | -1 | -1 | -1 |
how can I bold the Delta but keep New York/Plans/Actuals not bolded?
Thank you
3 Replies
- kushanNa
Super User
Hi Nash2Bos
you can do this using svg
Please follow the following steps
create following measure (fill up the measure values with your table name and column names )
Deltas SVG = VAR RowType = SELECTEDVALUE('YourTable'[RowType]) VAR Val = FORMAT(SELECTEDVALUE('YourTable'[Value]), "General Number") VAR NormalText = "data:image/svg+xml;utf8," & "%3Csvg xmlns='http://www.w3.org/2000/svg' width='70' height='20'%3E" & "%3Ctext x='0' y='15' font-family='Segoe UI'%3E" & Val & "%3C/text%3E" & "%3C/svg%3E" VAR BoldText = "data:image/svg+xml;utf8," & "%3Csvg xmlns='http://www.w3.org/2000/svg' width='70' height='20'%3E" & "%3Ctext x='0' y='15' font-family='Segoe UI' font-weight='bold'%3E" & Val & "%3C/text%3E" & "%3C/svg%3E" RETURN IF(RowType = "Delta", BoldText, NormalText)Change the measure date category to image URL
the the measure to the matrix table values field and and that should work