New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce ANC-301 Exam - Topic 9 Question 23 Discussion

Actual exam question for Salesforce's ANC-301 exam
Question #: 23
Topic #: 9
[All ANC-301 Questions]

Exhibit.

Universal Containers has a dashboard for sales managers to visualize the Year Over Year (YoY) growth of their customers. The formula used is:

YoY = [(This Year --- Last Year) / Last Year] %

Based on the graphic, when there is not an account in the Last Year column, the YoY Growth shows null results. The sales managers want to replace it with 100% value.

What is the correct function to use?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Pedro
3 months ago
What if Last Year was zero? Wouldn't that mess things up?
upvoted 0 times
...
Julianna
3 months ago
Totally agree with you, Rebbecca!
upvoted 0 times
...
Stevie
3 months ago
Wait, why would you want to replace null with 100%? Seems odd.
upvoted 0 times
...
Rebbecca
4 months ago
I think coalesce() is definitely the right choice here.
upvoted 0 times
...
Tyra
4 months ago
The formula for YoY growth is spot on!
upvoted 0 times
...
Loreta
4 months ago
I vaguely recall that "coalesce()" is often used to return the first non-null value, so it seems like it could work for this scenario.
upvoted 0 times
...
Cristy
4 months ago
I’m a bit confused about the options. I know "replace()" is used for string manipulation, but I’m not sure if it applies here.
upvoted 0 times
...
Tresa
4 months ago
I think we practiced a similar question where we had to replace nulls with a default value. I feel like "coalesce()" might be the right choice.
upvoted 0 times
...
Dannie
5 months ago
I remember we discussed how to handle null values in our last practice session, but I’m not entirely sure which function to use here.
upvoted 0 times
...
Michel
5 months ago
I'm a little unsure about this question. I know we need to replace the null values, but I'm not sure if coalesce() is the right function to use. I might need to double-check the documentation on that one.
upvoted 0 times
...
Una
5 months ago
I'm feeling pretty confident about this one. The coalesce() function is designed to handle null values, so that seems like the most straightforward solution. I'll go with option B.
upvoted 0 times
...
Stevie
5 months ago
Hmm, I'm a bit confused on this one. I'm not sure if coalesce() is the right function to use, or if there's another option that might work better. I'll need to think this through a bit more.
upvoted 0 times
...
Tamra
5 months ago
I think the key here is to replace the null values with a specific value, in this case 100%. The coalesce() function seems like the right choice to handle that.
upvoted 0 times
...
Serina
5 months ago
Okay, I've got an idea. The replace() function could be used to replace the null values with 100%. That way, the formula will work correctly even when there's no data in the Last Year column.
upvoted 0 times
...
Zita
5 months ago
This looks straightforward, I'm pretty confident I can answer this correctly.
upvoted 0 times
...
Loreta
5 months ago
The answer has to be the Communications Management Plan. That's where all the details around how project information will be shared are laid out, including the schedule for distributing it.
upvoted 0 times
...
Anabel
5 months ago
I'm pretty sure VPNs use tunneling protocols, so I'll go with option B.
upvoted 0 times
...
Shenika
10 months ago
I'm feeling like a sales manager right now, and all I can think about is how much I'd love to see those 100% YoY growth numbers instead of those null results. Coalesce() to the rescue!
upvoted 0 times
...
Filiberto
10 months ago
Coalesce() is the way to go! It's like a superhero function for replacing those pesky null values. Null be gone!
upvoted 0 times
Bobbye
8 months ago
C) replace()
upvoted 0 times
...
Allene
8 months ago
B) coalesce()
upvoted 0 times
...
Leonora
10 months ago
A) substr()
upvoted 0 times
...
...
Luis
10 months ago
The replace() function could work, but it's not the most efficient option. Coalesce() is specifically designed for this kind of data transformation.
upvoted 0 times
Cherrie
9 months ago
Let's go with coalesce() then.
upvoted 0 times
...
Pamella
9 months ago
I agree, coalesce() is specifically designed for this kind of data transformation.
upvoted 0 times
...
Nathan
9 months ago
I think coalesce() is the best option here.
upvoted 0 times
...
...
Alaine
10 months ago
The substr() function doesn't seem to be the right choice here. We need to replace the null values, not extract a substring.
upvoted 0 times
...
Tarra
11 months ago
I think the correct function to use is coalesce(). This function will replace the null values with the specified value, which in this case should be 100%.
upvoted 0 times
Odette
9 months ago
Yes, coalesce() will replace the null values with the specified value, which is 100% in this case.
upvoted 0 times
...
Odette
9 months ago
I agree, coalesce() is the correct function to use in this scenario.
upvoted 0 times
...
Mozell
10 months ago
Exactly, using coalesce() will solve the issue of null results in the YoY Growth calculation.
upvoted 0 times
...
Kizzy
10 months ago
That makes sense. Coalesce() will replace the null values with the specified value, which is 100% in this case.
upvoted 0 times
...
Ronald
10 months ago
Yes, you are correct. Coalesce() is the correct function to use in this scenario.
upvoted 0 times
...
Isabelle
10 months ago
That makes sense, coalesce() will replace null values with the specified value.
upvoted 0 times
...
Alecia
10 months ago
Yes, coalesce() is the correct function for replacing null values.
upvoted 0 times
...
Lakeesha
10 months ago
I think the correct function to use is coalesce().
upvoted 0 times
...
...
Fernanda
11 months ago
I'm not sure, but I think replace() function might also work in this case.
upvoted 0 times
...
Clarinda
11 months ago
I agree with Virgina, coalesce() function will replace null results with 100%.
upvoted 0 times
...
Virgina
11 months ago
I think the correct function to use is coalesce().
upvoted 0 times
...

Save Cancel