Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

IF statement for straight table

Hi,

I need to display a value in a straight table for one specific value. I have Date as dimension and Rating as expression in a table.

I only need to show Rating for Company A at all times ignoring any other selections that the user makes. So if the user selects Company B, the table should still show Company A Rating. I have this but it only works if Company A or nothing at all is selected:

if([Company] = 'Company A', RATING)

1 Solution

Accepted Solutions
manideep78
Partner - Specialist
Partner - Specialist

Try this

Only({1<Company={'Company A'}>}RATING)

View solution in original post

3 Replies
manideep78
Partner - Specialist
Partner - Specialist

Try this

Only({1<Company={'Company A'}>}RATING)

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Try this,

Sum({1<Company = {"Company A"}>}Rating)

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Not applicable
Author

Thanks! It worked