I have a use case where I need to apply bold formatting to a specific part of a text element, like this:
${DisplayNumber} + str(format_date(${CurrentDate}, 'MM/dd/yyyy'))
I want the CurrentDate to appear in bold, while keeping the rest of the text in normal font.
The issue is that when using Evaluate=True to dynamically evaluate the expression, I can't find a way to apply text formatting directly. Using rich text formatting would prevent me from evaluating the expression as intended.
How can I achieve this? Is there a way to style specific parts of the text while still evaluating it correctly?
I have a use case where I need to apply bold formatting to a specific part of a text element, like this:
${DisplayNumber} + str(format_date(${CurrentDate}, 'MM/dd/yyyy'))I want the CurrentDate to appear in bold, while keeping the rest of the text in normal font.
The issue is that when using
Evaluate=Trueto dynamically evaluate the expression, I can't find a way to apply text formatting directly. Using rich text formatting would prevent me from evaluating the expression as intended.How can I achieve this? Is there a way to style specific parts of the text while still evaluating it correctly?