Skip to main content
์ƒˆ๋กœ์šด ์ปค๋ฎค๋‹ˆํ‹ฐ ๋Œ€ํ™”๋ฅผ Slack์œผ๋กœ ์ด์ „ํ•จ์— ๋”ฐ๋ผ ์˜จ๋ผ์ธ Trailblazer Community๋Š” 2026๋…„ 10์›” 30์ผ๋ถ€ํ„ฐ ์ฝ๊ธฐ ์ „์šฉ์œผ๋กœ ์ „ํ™˜๋ฉ๋‹ˆ๋‹ค. FAQ๋ฅผ ์ฝ์–ด๋ณด์‹ญ์‹œ์˜ค.

Apply a Discount with a Custom Summary Formula

Learn About Summary Formulas

Ursa Major Solarโ€™s marketing manager, April Hansen, thinks that running a promotion for the companyโ€™s large accounts would do wonders for their customer satisfaction metrics. She proposes the idea to Gabriela Livingston, Ursa Majorโ€™s head of sales operations, and Gabriela gives her the thumbs up to apply a 5% discount on accounts with opportunities that exceed $100,000. The companyโ€™s COO is thrilled by Aprilโ€™s initiative, but he wants to see an adjusted total for the revenue the companyโ€™s opportunities will bring in after the discount.

Summary formulas let you create a column for your report that logically and mathematically evaluates report data, so you can customize that data to meet your needs. To add a custom summary formula, group your report data, write the formula, then sit back and let the Lightning Report Builder handle the rest.

Analyze Report Data with Summary Formulas

Note

When youโ€™re ready to preview data, manually refresh the report preview. Or, see sample records returned after each edit by turning automatic previews on.

First, letโ€™s help April write a custom summary formula to create a column on an opportunity report that shows which opportunities would receive the discount, and the difference the discount will make on Ursa Majorโ€™s earnings:

  1. Create an opportunity report.
    • Click Reports.
    • Click New Report.
    • From the Select a Report Type menu, search for and select Opportunities.
    • Click Start Report.
  1. Click Filter iconFilters.
  2. Click the Close Date filter, set the Range to All Time, and click Apply.
  3. Group the report by Opportunity ID.
    • To open the outline pane, click Outline.
    • Under Group Rows, click Add group, then search for and select Opportunity ID.
  1. Click Save.
  2. Name the report Opportunities After Discount and change the Report Unique Name to OPPORTUNITIES_AFTER_DISCOUNT.
  3. Click Save.
  4. Next to Columns, click Down arrow and select Add Summary Formula.
  5. Name the column Amount After Total.
  6. For Formula Output Type, select Currency.
  7. In the formula field, paste IF(AMOUNT:SUM > 100000, AMOUNT:SUM*(0.95), AMOUNT:SUM).
  8. To verify that the formula is valid, click Validate.
  9. Select All Summary Levels.
  10. Click Apply.
  11. In the Amount column of the report, click Down arrow, navigate to Summarize, and select Sum.
  12. Disable the toggles for Row Counts and Detail Rows. Report toggles
  13. Click Save & Run.

Now the report shows updated figures to account for discounted opportunities.

Resources

Salesforce ๋„์›€๋ง์—์„œ Trailhead ํ”ผ๋“œ๋ฐฑ์„ ๊ณต์œ ํ•˜์„ธ์š”.

Trailhead์— ๊ด€ํ•œ ์—ฌ๋Ÿฌ๋ถ„์˜ ์˜๊ฒฌ์— ๊ท€ ๊ธฐ์šธ์ด๊ฒ ์Šต๋‹ˆ๋‹ค. ์ด์ œ Salesforce ๋„์›€๋ง ์‚ฌ์ดํŠธ์—์„œ ์–ธ์ œ๋“ ์ง€ ์ƒˆ๋กœ์šด ํ”ผ๋“œ๋ฐฑ ์–‘์‹์„ ์ž‘์„ฑํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์ž์„ธํžˆ ์•Œ์•„๋ณด๊ธฐ ์˜๊ฒฌ ๊ณต์œ ํ•˜๊ธฐ