Forum Discussion
Kristofferaabo
Helper IV
8 years agolookup between tables
Hi! I have a table which is linked to two tables thorugh the same relationship: "Project number" I now want to make a column which returns 'Yes' if the given project number is in either of the l...
- 8 years ago
Try this COlumn
Column = IF ( OR ( CALCULATE ( COUNTROWS ( LinkedTable1 ) ) > 0, CALCULATE ( COUNTROWS ( LinkedTable2 ) ) > 0 ), "Yes" )
Zubair_Muhammad
Community Champion
8 years agoHi
Did you try the above formula?
Did you try the above formula?
Kristofferaabo
Helper IV
8 years agoYes, perhaps I misunderstand it, but it found 'find' the columns..
I tried this:
Column =
IF (
OR (
CALCULATE ( COUNTROWS ( TABLE B [Project] ) ) > 0,
CALCULATE ( COUNTROWS ( TABLE C [PROJECT] ) ) > 0
),
"Yes"
)- Zubair_Muhammad8 years ago
Community Champion
It worked?- Kristofferaabo8 years ago
Helper IV
No i cant get powerBI to find/suggest the tables, I tried the RELATED function also...
- Kristofferaabo8 years ago
Helper IV
It also asked for a table? I guess it suppose to be columns?