Forum Discussion
YonaD
4 years agoFrequent Visitor
Calculated Column or New measure
Hello Everyone, I am new to power BI and DAX and I was trying to create a calculated column in which the values depend on the calculation from another table. My data look like these: Table 1 P...
- 4 years ago
YonaD , a new column
new column in table 2 =
datediff(minx(filter(Table1, Table1[Project ID] = Table2[Project ID] && Table1[Activity] ="Task 1"),Table1[Start Date]),
maxx(filter(Table1, Table1[Project ID] = Table2[Project ID] && Table1[Activity] ="Task 2"),Table1[Finish Date]),day)
amitchandak
4 years agoSuper User
YonaD , a new column
new column in table 2 =
datediff(minx(filter(Table1, Table1[Project ID] = Table2[Project ID] && Table1[Activity] ="Task 1"),Table1[Start Date]),
maxx(filter(Table1, Table1[Project ID] = Table2[Project ID] && Table1[Activity] ="Task 2"),Table1[Finish Date]),day)
YonaD
4 years agoFrequent Visitor
Thank you so much!