Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
I am looking to do a LOOKUPVALUE but this a where clause.
I have 2 tables.
I want to look up the old pc name
PCS
EMAIL|ComputerName|Status
USERS
USERNAME|Email
So this lookup works fine
LOOKUPVALUE can have multiple searches
https://docs.microsoft.com/en-us/dax/lookupvalue-function-dax
you can do the following
OLDPC = LOOKUPVALUE(PCS[ComputerName], PCS[Email], USERS[Email], PCS[Status], "OLD")
User | Count |
---|---|
15 | |
2 | |
1 | |
1 | |
1 |
User | Count |
---|---|
18 | |
11 | |
5 | |
4 | |
3 |