Forum Discussion
Anonymous
3 years agoNot applicable
Create a Collum Based on another Table
I have two tables: Table 1 have a collunm production-date. DATEPRODUCTION PRODUCTION 2023-06-12 3 2 In Table 2, i have 3 collunms, the first collum is the round, the secon...
- 3 years ago
Hi Anonymous
Please try the following DAX in a new column in table 1ROUND = VAR __DATE = Table1[DATEPRODUCTION] RETURN CALCULATE( MIN( Table2[ROUND] ), __DATE >= Table2[START_DATE] && __DATE <= Table2[END_DATE] )
Adescrit
3 years agoImpactful Individual
Hi Anonymous
Please try the following DAX in a new column in table 1
ROUND =
VAR __DATE = Table1[DATEPRODUCTION]
RETURN
CALCULATE( MIN( Table2[ROUND] ),
__DATE >= Table2[START_DATE] &&
__DATE <= Table2[END_DATE]
)- Anonymous3 years agoNot applicable
it work exactly like i wanted, thank you a lot!!!