Display Name of column not updating to expression value

Hi

Quick question, I have a table that updates on a weekly basis. It shows the sales data of the past 6 weeks, as such:

AdamVW_0-1689301983535.png

I want to update the Display name of these columns to reflect the date of each week as text. I am using this expression:

text(any(select(RetailInfoAccess[Data_Week],and([Retailer]=[_THISROW].[Retailer],isnotblank([Data_Week])))),"dd-mm-yy")

 

AdamVW_2-1689302313431.png

And when I test it, it renders a value, as such

AdamVW_1-1689302228221.png

But when I look at a table or chart or any view for that matter it just defaults to the actual column name.

AdamVW_3-1689302553859.png

I have tried just placing text value "Test" as the Display Name, and that works.

 

AdamVW_5-1689302775075.png

 

Any ideas on why this will not work for an expression?

 

Solved Solved
0 2 125
1 ACCEPTED SOLUTION

Because your expression would return different values for different records, but a table or chart or any other "collection" view displays multiple records.

View solution in original post

2 REPLIES 2

Because your expression would return different values for different records, but a table or chart or any other "collection" view displays multiple records.

Obviously! Thanks Marc ๐Ÿ˜€

Top Labels in this Space