Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello,
I am new to this forum and fairly new to Power BI
I am trying to lookup value from table service with a coloumn id_operation. relation of both table is coloumn vincode.
how to lookup value with category id_operation values "1" in coloumn data ?
Following is a table :
please help for my case.
thanks.
Solved! Go to Solution.
Hi@ ranggafirmansya
When you add a column, It returns values must be one.
You need to add another condition:
SERVICE[ID_OPERATION]=1
data = LOOKUPVALUE(SERVICE[date],SERVICE[VINCODE],CUSTOMER[VINCODE],SERVICE[ID_OPERATION],1)
Result:
Best Regards,
Lin
Hi@ ranggafirmansya
When you add a column, It returns values must be one.
You need to add another condition:
SERVICE[ID_OPERATION]=1
data = LOOKUPVALUE(SERVICE[date],SERVICE[VINCODE],CUSTOMER[VINCODE],SERVICE[ID_OPERATION],1)
Result:
Best Regards,
Lin
thanks for your answer Mr. Lin
LOOKUPVALUE is the function you probably want.
I think it's easiest to just start typing data = LOOKUPVALUE( and follow the tooltips, but in the end you will use something like this:
Data =LOOKUPVALUE(Service[ID_OPERATION],Service[VinCode],WhateverThisTableNameIs[Vincode])
I have tried according to your suggestion, but I found the following error:
what's the solution ?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
95 | |
80 | |
68 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |