Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Am I right in saying that I cannot use the same Search_ColumnName twice when using the LOOKUPVALUE function?
I have 4 columns in one table with values that match the Search_ColumnName values in another table and I am trying to use the same Search_ColumnName for all 4 Search_Values and its is giving me blanks in the new column.
Example 1 (This works with the correct values in the new column)
Teamowner = LOOKUPVALUE(Owner[Owner],Owner[Team],S3SSL[tags2])
The problem is with the final parameter but it gives no expalanation as to what the issue might be.
Still no joy on this one so I ended up creating a conditional column, which also gave me errors until I added a character to the blank spaces in each column and then it gave me what I needed.
If you know that there will only be 1 row which matches then you could use
Teamowner =
SELECTCOLUMNS (
FILTER (
Owner,
Owner[Team] IN { S3SSL[tags1], S3SSL[tags2], S3SSL[tags3], S3SSL[tags4] }
),
Owner[Owner]
)
Thank you for the reply but unfortunately that didnt work.
This is what I am trying to achieve
You need to filter out the blanks as well,
Teamowner =
SELECTCOLUMNS (
FILTER (
Owner,
Owner[Team]
IN { S3SSL[tags1], S3SSL[tags2], S3SSL[tags3], S3SSL[tags4] }
&& NOT ISBLANK ( Owner[Team] )
),
Owner[Owner]
)
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
10 | |
10 | |
9 | |
9 |
User | Count |
---|---|
20 | |
13 | |
12 | |
11 | |
8 |