This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
We're actively looking for ideas on how to improve Weekly Challenges and would love to hear what you think!
Submit FeedbackUnexpected benefit of jury duty is having the time to catch up on challenges. My first go at both a hard and easy solution are very similar. So I decided to try another approach. Dynamic Replace, I'm beginning to understand you......
Also, I love RegEx
The Arrange tool needs some love, a powerful data transformation tool, but this week's challenge does take advantage of all its capabilities.
If EndsWith([Salary], Substring([Name],7,1)) AND ToNumber([Salary],1,1)<[Value] THEN [Rate] ELSE Null() ENDIFThis takes advantage of how the ToNumber() function works, it will convert all numbers prior to the first non-numeric character. We can suppress the conversion warning with the additional arguments.
An easy way version for now.
I opted out of the hard way, but maybe I'll come back to it when I have some more time on my hands!
Easy way for now 🙂
I went easy on this one as struggling for time. I could have removed a tool or two but just had to do this quick!