最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How can I change the text size depending on a field size in tableau - Stack Overflow

programmeradmin2浏览0评论

I want the more 'awesome' news to be bigger and vice versa. The variable is called 'Awesomeness' and the text variable is called 'Headline'. The tableau table I'm trying to make pretty

I dont want to use chatgpt for this kind of stuff, it makes me feel dumb. Also, I think the 'Tuna bounces back' headline is so silly. Anyway, thanks in advance for helping everyone. Have a good day.

I want the more 'awesome' news to be bigger and vice versa. The variable is called 'Awesomeness' and the text variable is called 'Headline'. The tableau table I'm trying to make pretty

I dont want to use chatgpt for this kind of stuff, it makes me feel dumb. Also, I think the 'Tuna bounces back' headline is so silly. Anyway, thanks in advance for helping everyone. Have a good day.

Share Improve this question asked Mar 12 at 20:32 Elena Isabel Lopez Negrete BurElena Isabel Lopez Negrete Bur 132 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

Write a few calculated fields that either return the headline or null, depending on level of awesomeness. Cal them, say, awesome-headline, ok-headline and bad-headline. One example. Could be

“If sum(awesome) > some-threshold then [Headline] end // missing else means null”

put all three headline fields on the label shelf instead of the original. Make sure that whatever value the awesome field has, one of the headline fields will have a value and the others will be null

edit the label dialog and assign fonts and colors as desired. Null values will be ignored, so the label font, size color formatting will vary according to your thresholds

发布评论

评论列表(0)

  1. 暂无评论