Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hi guys
I have two tables, in one of which I have a unique code and in the second table I have all the orders of that unique code on different dates. A DAX code with which I can create a column that shows the last customer date (FactorDate) in the first table from the second table. (Format date is a Text)Table 1 Unique Code
Table 2 Unique Code FactorDate
Solved! Go to Solution.
hi @JavidRob
try to add a calculated column in Table1 like:
LastDate =
MAXX(
FILTER(
Table2,
Table2[Unique Code] =Table1[Unique Code]
),
Table2[FactorDate]
)
hi @JavidRob
try to add a calculated column in Table1 like:
LastDate =
MAXX(
FILTER(
Table2,
Table2[Unique Code] =Table1[Unique Code]
),
Table2[FactorDate]
)
Thank you so much 😍
Unfortunately, the "FactorDate" column in my table2 has a text format, not a date, so I think the function "LastDate" doesn't work
hi @JavidRob
then try like:
LastDate =
MAXX(
FILTER(
Table2,
Table2[Unique Code] =Table1[Unique Code]
),
DATEVALUE(Table2[FactorDate])
)
User | Count |
---|---|
12 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
24 | |
19 | |
14 | |
10 | |
7 |