Forum Discussion
LOOKUPVALUE Question
- 6 years ago
Hi , Anonymous
I don’t know if I understand you correctly. I made a demo, I hope it will be helpful to you.
I create a calculated table by using two tables:
Table1+2 = DISTINCT(UNION(SELECTCOLUMNS(Table1,"ID",Table1[_ID]),SELECTCOLUMNS(Table2,"ID",Table2[_ID])))Then add two calculated column into the table:
Table 2 - value = IF(ISBLANK(RELATED(Table2[Table2 Value])),0,RELATED(Table2[Table2 Value]))Table 2 - value = IF(ISBLANK(RELATED(Table2[Table2 Value])),0,RELATED(Table2[Table2 Value]))it shows as below:
Best Regards,
Community Support Team _ Eason
Hi , Anonymous
I don’t know if I understand you correctly. I made a demo, I hope it will be helpful to you.
I create a calculated table by using two tables:
Table1+2 = DISTINCT(UNION(SELECTCOLUMNS(Table1,"ID",Table1[_ID]),SELECTCOLUMNS(Table2,"ID",Table2[_ID])))Then add two calculated column into the table:
Table 2 - value = IF(ISBLANK(RELATED(Table2[Table2 Value])),0,RELATED(Table2[Table2 Value]))Table 2 - value = IF(ISBLANK(RELATED(Table2[Table2 Value])),0,RELATED(Table2[Table2 Value]))it shows as below:
Best Regards,
Community Support Team _ Eason
- Anonymous6 years agoNot applicable
v-easonf-msft Thank you! This gets me where I want to be; bringing in the values for each project ID from table 1 in to a line and clustered column chart, and all values for each project from table 2 as a separate line, whether or not the projects from table 2 exist in table 1. There are additional fields being brought in to this visualization and some nuances that I haven't explained, but suffice it to say that this works.