Forum Discussion
How to get a cell string from a row in Measure
Dear all,
Could you please demomnstrate me for this question:
| Description | Score |
| Dry? | No |
| Overprocessing? | Yes |
| Environment? | No |
| Harmless? | Yes |
I want to create a Measure and if to pick the core from column "Score" when I use the Descriptrion = "Overprocessing".
Something like this will not help:
Hello CornelisV
You can try this measure
MyString =
LOOKUPVALUE(
'Table'[Score], // Column to return
'Table'[Description], // Search column
"Overprocessing?" //Search value
)Thanks,
PankajIf this solution helps, please accept it and give a kudos (Like), it would be greatly appreciated.
Hello CornelisV ,
Additionally, here’s the measure that will achieve the outcome you’re looking for:
Overprocessing Score =
CALCULATE(
SELECTEDVALUE( YourTable[Score] ),
FILTER(
YourTable,
YourTable[Description] = "Overprocessing?"
)
)Kind Regards,
Gökberk Uzuntaş
📌 If this post helps, then please consider Accepting it as a solution and giving Kudos — it helps other members find answers faster!
🔗 Stay Connected:
📘 Medium |
📺 YouTube |
💼 LinkedIn |
📷 Instagram |
🐦 X |
👽 Reddit |
🌐 Website |
🎵 TikTok |
4 Replies
- pankajnamekar25
Super User
Hello CornelisV
You can try this measure
MyString =
LOOKUPVALUE(
'Table'[Score], // Column to return
'Table'[Description], // Search column
"Overprocessing?" //Search value
)Thanks,
PankajIf this solution helps, please accept it and give a kudos (Like), it would be greatly appreciated.
- CornelisV
Helper IV
Hello pankajnamekar25
Thank you, thsi is helpful. The lookup funcion is a good alternative and a bit simpler.
Best vregards,
Cornelis
- uzuntasgokberk
Super User
Hello CornelisV ,
Additionally, here’s the measure that will achieve the outcome you’re looking for:
Overprocessing Score =
CALCULATE(
SELECTEDVALUE( YourTable[Score] ),
FILTER(
YourTable,
YourTable[Description] = "Overprocessing?"
)
)Kind Regards,
Gökberk Uzuntaş
📌 If this post helps, then please consider Accepting it as a solution and giving Kudos — it helps other members find answers faster!
🔗 Stay Connected:
📘 Medium |
📺 YouTube |
💼 LinkedIn |
📷 Instagram |
🐦 X |
👽 Reddit |
🌐 Website |
🎵 TikTok |- CornelisV
Helper IV
Hello uzuntasgokberk ,
Thank you for your swift reply, this is greatly appreciated!
Best regards,
Cornelis