Hello.
I have a dataset (one table) containing the store's name, the date of the invoice, and the address of the store.
The problem is that the address of the store may vary due to extra spaces, dots, introducing cuts or relocating to a new store.
Purpose - to assign each entry a calculated field, in which the common address will be displayed in the last date of sale.
To do this, create an intermediate column for the latest date of sale
Well, it works correctly.
but the next step is causing the error:
took this formula = LOOKUPVALUE(<result_columnName>, <search_columnName>, <search_value>[, <search_columnName>, <search_value>]...)
and wrote
this formula produces an error.
ask for help.
I have a dataset (one table) containing the store's name, the date of the invoice, and the address of the store.
The problem is that the address of the store may vary due to extra spaces, dots, introducing cuts or relocating to a new store.
Purpose - to assign each entry a calculated field, in which the common address will be displayed in the last date of sale.
To do this, create an intermediate column for the latest date of sale
Code:
[FONT=Courier New]MaxDatePos:=CALCULATE(MAX('tab1'[InvoiceDate]);ALLEXCEPT('tab1';'tab1'[Name]))[/FONT]
but the next step is causing the error:
took this formula = LOOKUPVALUE(<result_columnName>, <search_columnName>, <search_value>[, <search_columnName>, <search_value>]...)
and wrote
Code:
[FONT=Courier New]=LOOKUPVALUE('tab1'[Adress];'tab1'[Name];[Name];'tab1'[InvoiceDate];[MaxDatePos])[/FONT]
ask for help.