Dereference problem in form view

Hello guys,
I have my usual most common problem with dereferences… I have an app as budget tracker where I have three tables “Expenses”, “Income” and “Balance” and recently I add the table “subcategory”. When I add an expenses and i select a Category, in the next filed Subcategory i would see only the subcategory related to the Category selected in the form view.
3X_2_1_21dae6dc6228abba926c59af3e05e67249a80c0c.png

3X_7_f_7f1311a0f989aa93afaaa9e6d8e00c95ba709f26.png (expenses table)

3X_c_d_cd525c82f58fa31f9b00623bc1987b93d4f535e8.png (Category table)

3X_d_3_d36beec233e9abcbc9fb1cb056fc762084f3f6ef.png (Sucategory table)

Please, help me! I know that is a simple things but in this moment i don’t manage to see the solution… maybe i’m too sick

0 1 51
1 REPLY 1

This isn’t a de-reference problem but rather a filtering problem.

The expression you should use in the the Valid_If of the Subcategories column in your Expenses table is:

SELECT(Sottocategoria Table[IDSottocategoria], [Categoria] = [_THISROW].[Categoria])

Please adjust the name to match your tables and columns

Top Labels in this Space