Label a group instead of Y or N

Iโ€™m sure I saw a question like this but I canโ€™t find it. Iโ€™m presenting data in a Deck View and grouping it, in one tab, by a Yes/No field. It ONLY shows Y or N which doesnโ€™t give the user much context. Iโ€™d rather it say, โ€œIs Urgentโ€ for Y and โ€œNot Urgentโ€ for N. Any way to do this?

2X_3_3116cd01013bda72e6caccacc856dab26aae869b.png

Solved Solved
1 9 389
  • UX
1 ACCEPTED SOLUTION

You can also simplify this to: IF([URGENT], โ€œIs URGENTโ€,โ€œNot Urgentโ€)

View solution in original post

9 REPLIES 9

Virtual Colunm and Concatenate. I can explain more if needed

Thanks. I had seen that from an old post so I guess that is the way to go.

Instead of Concatenate, I used IF([URGENT]=TRUE, โ€œIs URGENTโ€,โ€œNot Urgentโ€) in my virtual column.
Then I added it to the slice my view was based upon and selected that column for my Group By.

It worked. @retailpartnercom Do you see any reason why Concatenate would be better than IF?

2X_5_52118a49842d29efe9e20ef48242dfa28d6a7d35.png

Oh, my bad. Your right, concatenate wouldnโ€™t work. I was thinking that you would put โ€œY, Is URGENTโ€ or โ€œN, Is not Urgentโ€, but your way is better.

You could create a separate table:

Key Label
TRUE Is URGENT
FALSE Not Urgent

Then make the By Urgency column a Ref to that table.

You can also simplify this to: IF([URGENT], โ€œIs URGENTโ€,โ€œNot Urgentโ€)

How does that work? Doesnโ€™t the first part have to be a condition?

The first part must evaluate to TRUE or FALSE. Yes/No columns are True/False. So [URGENT] already has one of those values. There is no need to compare it to a hardcoded boolean.

Oh thatโ€™s smart!

What @Bahbus said. The first part is an expressionโ€“any expressionโ€“that evaluates to a Yes/No value. [URGENT] is an expression that evaluates to the value of the URGENT column, which is itself a Yes/No value.

Top Labels in this Space