Dynamic column header based on slicer selection

Hi All,

I have a dashboard like this with date pickers implemented.I want to dynamically change the date on columns names of the matrix visual based on the slicers/date picker selection.

I ahve tried out ChatGPT and several YT videos.This question is not a measure ,this is on a column header name.The chatgpt suggestions are hard to believe for this.

But measures cannot add to matrix visuals

Thanks.I got the answer from another forum.I am lucky.

What did you discover?