Features · Health and governance
Credit prediction
Credits by card, environment and resource, with a forecast.

Video coming soon.
From the article How many Data Cloud credits are we using, and when do they run out? (part 29 of the series).
Sooner or later, someone with a budget asks how many Salesforce Data Cloud credits the org uses, what used them, and whether the purchase lasts until renewal. The Digital Wallet in Setup is the record, and it shows the totals. The follow-up questions take longer: which data stream used most of last month, whether the sandboxes are drawing on production's credits, and what next quarter looks like if nothing changes.
Where the numbers come from
Digital Wallet records usage in a set of Data Lake Objects (DLOs) whose names start with Tenant. Credit prediction looks for these:
- TenantDailyEntitlementConsumption and TenantHourlyEntitlementConsumption: credits used per day or hour.
- TenantEnrichedUsageEvent: credits per usage event, with the resource that used them.
- TenantBillingUsageEvent: raw usage (rows, requests), not credits.
- TenantEntitlementTransaction: what was purchased, per card.
- TenantUsageTypeMultiplier: the multipliers per usage type.
These objects exist only in the production org, and they hold the sandboxes' and scratch orgs' usage too, marked with its environment and the org that used it. Every figure on the page can split by environment (Production, Sandbox, Scratch), because sandbox usage draws on the production cards. On a sandbox, the page says this and asks you to connect to production.
Turning the objects on
On an org without the objects, the page says "No consumption objects in this org and data space" and lists the steps:
- Use the production org that holds the Data Cloud contract.
- In Setup, search for Digital Wallet and enable it.
- In Data Cloud, open Data Streams and activate the streams Digital Wallet added, such as TenantBillingUsageEventStream.
- Open Data Spaces, open the data space (usually default), click Add Data Lake Objects and add every DLO whose name starts with Tenant.
- Check in the Query Editor that a query on TenantBillingUsageEvent runs, then click Check again here.
The links under the steps go to the Salesforce Admins blog post on Digital Wallet usage, the Tenant Consumption Insights DMO reference, and the Marketing Cloud Tips step-by-step article.
Read consumption
Read consumption runs between two and seven read-only queries, depending on which objects the org has. Those queries use a few credits themselves, so the result is kept in this browser and shown next time without querying, with "Last read" and its time next to Read again.
The page guesses which object and fields to use: the credits field, the date, the card, the environment and the org. The Setup section shows each guess as a menu you can change, the number of days to read (90, 180 or 365, 180 by default), and Show SQL for the exact queries. After the first read, Setup, the SQL and the by-org table move under About this data, the information icon in the header.
Those menus matter. When the object it picked has no rows, the page moves on to the next one that has, and says so. In my demo org the daily and hourly consumption objects are empty, so the first read came from TenantEnrichedUsageEvent, with the line "Credits read from TenantEnrichedUsageEvent__dll: TenantDailyEntitlementConsumption__dll, TenantHourlyEntitlementConsumption__dll had no rows in the last 180 days."

Tiles and the daily chart
The four tiles at the top give credits used in the last 30 days (with the daily average), the next 30 days projected (with the next 90 and the trend), what is projected to the end of the year, and what is left across all environments: purchased minus used, with the month it runs out at the current 30-day rate. The demo org has no purchase rows, so that tile shows a dash and "no purchase data read".
Credits per day shows each day as a bar, coloured by environment, with the projected days hatched after the Today line. The Period menu picks All, Last 7, 30 or 90 days, This month, Last month or Custom dates, and dragging across the bars picks days too. Used in period gives the credits for those days.
Hovering or clicking a past day opens the day panel beside the chart: that day's credits per environment and the resources that used them, with Copy for the day. The All, Production, Sandbox and Scratch buttons show one environment at a time.
The projection starts at the first day with usage. Under 14 days of history it is the flat daily average; from 14 days it follows a straight-line trend; from 28 days, four of each weekday, it adds the day-of-week pattern, so a quiet weekend stays quiet in the forecast. My demo org has 12 days of history, so its forecast is flat: no weekly spike copied from one large identity resolution run. The note under the chart says which rule this forecast used, here "the flat daily average of the 12 days of history (a trend needs 14 days)". The daily average works the same way: it divides by the days of history in the last 30, not by 30, so the tile reads "1.56 a day over 12 days".
Cards, resources and environments
Credits by card lists each Digital Wallet card by share used: a ring with the percentage, Used, Purchased and Left (or Over), and a one-line description of what the card covers. In the demo org there are two cards, PlatformServicesCard with 19 used and DataStorageCard with 0.14, both with Purchased "not found", so the rings show a dash. By environment splits the card's usage, and What used it breaks it down by resource type or usage type. Storage cards count in their own unit, and the page says so instead of showing them as credits. Cards bought but not used yet are listed apart.
Top resources answers the question I get most: which data stream, data transform, segment or other resource used the credits, with its share. It shows the top six, See all lists the rest, and usage not tied to one resource (queries, storage, rows accessed) shows as Org-level usage. It needs TenantEnrichedUsageEvent in the data space. The day-by-day resource lists cover the last 90 days, so for a picked period Read for this period runs one more query. In my demo org, identity resolution (the Individual_b2c ruleset) used 18 of the 19 credits, 95%, and the rest went to data streams and org-level usage.
By environment gives one card per environment with its trend (Flat, Rising or Falling), a 90-day line and its own forecast, and the note below says which rule each environment's forecast used. Two banners appear above everything when they apply: a card that is over its purchase, and a sandbox or scratch environment whose use is rising.

In money
Show in money adds money next to the credit figures. Salesforce does not expose your price per credit to the API, so until you enter the one from your contract the page uses the list price: $500 per 100,000 credits, or $0.005 a credit. The price and currency you enter are kept for that org in this browser.
The Download menu gives the whole reading as a document or an Excel workbook, and Customize layout moves the blocks around or sets them to half or full width.
Limits
A few things to know:
- It is an estimate, not a bill. The Digital Wallet in Setup is the record.
- The data is only as fresh as Digital Wallet's own refresh, which runs several times a day.
- Purchased and used are matched by card name, so check the card view against the Digital Wallet before relying on it.
- A card's breakdown comes from a different object than its total; when they differ by more than 5%, the card says so.
- The projection extends the recent use. A new data stream or a big backfill next month is not in it, and with only a few weeks of data one large run weighs heavily: in my demo org a single identity resolution run is most of the 12 days' average.
- Reading uses a few credits, which is why the page never reads on its own.