Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hi All
This is my current DAX:
Selected Stock Symbol =
LOOKUPVALUE(
DimCompanies[Symbol],
DimCompanies[Companyname],
[Selected Stock]
)
The problem is that the Companyname is not unique.
So in the instance of 'Alphabet Inc.' my DAX returns a blank as there are multiple values (GOOGL and GOOG).
In this instance I want to return the first value it finds but am stuggleing with the code. I have tried using a combination of Firstnonblank and Filter but am still stuck.
Any help would be great.
Andrew
Solved! Go to Solution.
@andrew_k Use MINX( FILTER( ... ), ... ) instead of LOOKUPVALUE.
@andrew_k Use MINX( FILTER( ... ), ... ) instead of LOOKUPVALUE.
Excellent. Thanks Greg!
MINX( FILTER(DimCompanies, [Companyname] = [Selected Stock]),[Symbol])
User | Count |
---|---|
12 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
19 | |
14 | |
10 | |
7 |