Dynamic header in a table based on the parameter selected

Hello @HHXIAO

Thank you for posting your question.

Could you please give this a try -

Overlaying Text Visuals as Headers:

Create a Text Box Visual: Insert a text box visual above your table to act as a header.
Configure the text to display dynamic content based on the parameter. For instance:

ifelse(
    ${Parameter} = 'A', 'B vs A',
    ${Parameter} = 'B', 'A vs B',
    ${Parameter} = 'C', 'A vs C',
    ${Parameter} = 'D', 'A vs D',
    'Default Header'
) 

Ensure the text box updates in real-time with parameter changes.

Place the text box directly above the relevant table column to simulate a dynamic header.
Use the free-form layout to align the text box precisely.

Also try this as suggested in this post → Dynamic Column Names based on calculations - #2 by Wakana

Thank you,
Shravya

2 Likes