Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Alternative to Nested Lookups to Bridge Unrelated Datasets

Hi,

 

I'm trying to find an alternative to nested lookup tables (which aren't allowed in Report Builder) that allow me to do the following:

 

I want to bring data from Dataset 3 into a table that initially had data from Dataset 1 in. I can create a lookup with Dataset 1 and 2, or I can create one with 2 and 3. However I cannot use a nested lookup for 1 and 3 and don't know what else is possible.

 

What function can I use to bridge Dataset 1 and 3?

 

Dataset 1

Col1Col2
1a
2b
3c
4d
5e
6f

 

Dataset 2

Col2Col3
a7
b8
c9
d10
e11
f12

 

Dataset 3

Col3Col4
7g
8h
9i
10j
11k
12l

 

Much appreciated,

Will

  • Anonymous's avatar
    Anonymous
    4 years ago

    I ended up using a SQL query in Desktop to bring all of my data into a single dataset, then bringing that dataset into Report Builder. That did the trick.

2 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    I ended up using a SQL query in Desktop to bring all of my data into a single dataset, then bringing that dataset into Report Builder. That did the trick.

  • Would this work ?

     

    Table.Join(Table.Join(#"Dataset 1","Col2",#"Dataset 2","Col2"),"Col3",#"Dataset 3","Col3")