row filter condition for a slice.

My app has a "Balance" table.  This balance table gets data from the other two tables "Income" and "Expenses". 

Below is the main Balance table, with this I created a slice Balance 2

Balance View 1.png

This is the "Balance 2". Slice function: DATE([Date])= Date(TODAY())

even if i get the balance amount, it's not accurate and giving negative values.even if i get the balance amount, it's not accurate and giving negative values.

 

 

 

 

 

 

 

  • The problem is, I am unable to get those highlighted values(Income, expense, balance) when a row is filtered. Those three values are generated from the dataset.  And this is how the data look in sheets. 

Data Sheet.png

Please help. Thank you. 

Solved Solved
0 5 138
1 ACCEPTED SOLUTION


@swetha27 wrote:

Slice function: DATE([Date])= Date(TODAY())


No need for DATE(), just:

[DATE]=TODAY()

@swetha27 wrote:

I am unable to get those highlighted values(Income, expense, balance) when a row is filtered


OR(
 [_THISROW]="BALANCE",
 [DATE]=TODAY()
)

 

View solution in original post

5 REPLIES 5


@swetha27 wrote:

Slice function: DATE([Date])= Date(TODAY())


No need for DATE(), just:

[DATE]=TODAY()

@swetha27 wrote:

I am unable to get those highlighted values(Income, expense, balance) when a row is filtered


OR(
 [_THISROW]="BALANCE",
 [DATE]=TODAY()
)

 

It worked, Thank you.  But how do I sum the values by today?

Idk, it depends on how your "Balance" row is working.
AppSheet doesn't support totals so it's a workaround you made

Balance row works by: sum of income - sum of expenses + sumif expense is "hold". 

 Sure, but those are AppSheet expressions? It seems you are doing this inside your worksheet, so don't expect it to behave different based on the slices you make inside the App

Top Labels in this Space