Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
ronaldwang
Creator III
Creator III

conditional display column in straight table.

  I have a table where I show the sum of sales of each month using formula like sum({<month={Oct},year={2017}>}amount) as Oct17 Sale, sum({<month={Nov},year={2017}>}amount) as Nov17 Sale. In the condition column how do  I set the condition so that Oct17 Sale will be displayed only when Oct & 2017 is selected? thanks

 

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Try like:

=Max(Index(Month, 'Oct'))

With this, even if you select multiple months the expressions would be visible for respective months.

View solution in original post

7 Replies
Anil_Babu_Samineni

If you make condition like Sum(amount) and list boxes are Month & Year (Go ahead and filter) on Oct & 2017. What are you getting?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
prma7799
Master III
Master III

simply write if(((MonthName ='Oct')),1,0) in Condition box

ronaldwang
Creator III
Creator III
Author

it will still display

ronaldwang
Creator III
Creator III
Author

but user can select Oct,Nov, Dec etc, then the month name will not be uique

prma7799
Master III
Master III

How many expressions do you have in your chart?

Anil_Babu_Samineni

does it mean, You can set it up as below

If(GetFieldSelections(Month) > 0 and GetFieldSelections(Year) > 0, 1, 0)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
tresesco
MVP
MVP

Try like:

=Max(Index(Month, 'Oct'))

With this, even if you select multiple months the expressions would be visible for respective months.