Forum Discussion
Kasiop
4 years agoHelper II
Substring and Approximative Match
Hi, I have an issue and I am really stuck here, let me explain it: Currently I have 2 sources and no exact matching. What do I want to achieve? I want to match SOURCE1.bucket/source w...
- 4 years ago
Hi,
This calculated column formula works
Column = FIRSTNONBLANK(FILTER(VALUES(Buckets[BUCKET]),SEARCH(Buckets[BUCKET],Data[FULL_DATABASE_NAME],1,0)),1)
Kasiop
4 years agoHelper II
Below what I could give as data, I hope it will be useful.
Thanks,
SOURCE 1
| FULL_DATABASE_NAME | BUCKET /SOURCE | WHAT I WANT (and I don't have) |
| landingconsumabledbprdaeranpill | aeranpill | aera |
| landingconsumabledbprdaerap6rs | aerap6rs | aera |
| landingconsumabledbprdaerap5op | aerap5op | aera |
| landingconsumabledbprdaerap3tr | aerap3tr | aera |
| landingconsumabledbprdaerap1te | aerap1te | aera |
| landingconsumabledbprdaeraplbou | aeraplbou | aera |
| landingconsumabledbprdaerasxyrl | aerasxyrl | aera |
| landingconsumabledbprdtelonip1ee | telonip1ee | teloni |
| landingconsumabledbprdtelanosp3ok | telanosp3ok | telanos |
| landingconsumabledbprdtelanosp1tr | telanosp1tr | telanos |
| landingconsumabledbprdtelanossmdl | telanossmdl | telanos |
SOURCE 2
| BUCKET |
| aera |
| telanos |
| teloni |
Ashish_Mathur
4 years agoSuper User
Hi,
This calculated column formula works
Column = FIRSTNONBLANK(FILTER(VALUES(Buckets[BUCKET]),SEARCH(Buckets[BUCKET],Data[FULL_DATABASE_NAME],1,0)),1)
- Kasiop4 years agoHelper II
thanks a lot Ashish, your solution works!!
Many thanks to all of you 😗!!!
- Ashish_Mathur4 years agoSuper User
You are welcome.