Cost breakdown report

Cost breakdown report

To learn more about how to easily report on Snowflake spend with Slingshot’s Cost Breakdown Report, watch our how-to video here.

Roles for viewing this report

  • Tenant admin
  • Snowflake admin
  • Snowflake owner
  • Snowflake viewer
  • Snowflake approver 1 & 2
    ℹ️
    Org determines which objects a user can access in Slingshot. When a role is assigned to the parent org, the role has access to all of its child units.

About the Cost breakdown report

Analyzing spend allocations can be tedious and complex. Slingshot’s Cost Breakdown Report simplifies this process by leveraging the power of tags to provide greater cost transparency for shared resources, enabling you to make more informed decisions. This report allows you to slice and dice Snowflake objects into logical groupings using tags, view cost insights, and download shareable cost breakdown reports.

By utilizing the Cost breakdown report, you’re able to get a clearer picture of cost attributions for shared resources. Slingshot tags provide a way to track spends and generate detailed reports that map to your business.

How do tags and the Cost breakdown report work together? Create, modify and assign new Tag Groups and values to Snowflake objects across all your Snowflake accounts. Once assigned, continue as usual while Slingshot tracks your Snowflake spend across various tag groups and reports those insights.

For example the VP of Data Engineering asks for cost reporting for all lines of business (LOBs). The problem is - the analytics warehouses used by Tableau are shared by multiple LOBs and their data analysts so the compute tagging alone won’t help in this scenario. Using Slingshot tags, the Data Engineering team create the following cost centers:

  • Tag group: Cost Center

  • Tag values for different LOBs: Acme Sales, Acme Engineering, Doppler Sales

Then the team assigns data analysts to the respective Cost Centers - solving the cost attribution problem across shared resources. This gives your VP of Data engineering the ability to filter the costs by the tag group Cost center and visualize compute, storage and other Snowflake usage costs by simply navigating to Slingshot dashboards and the Cost breakdown report.

Understanding the Cost breakdown report

Key Features

Tag-Based Grouping: The report uses tags to group Snowflake objects such as warehouses, users, and databases into logical units

Cost Insights: Provides detailed cost insights for each tag group

Shareable Reports: Generate shareable reports for your organization

How the report works

The Cost Breakdown Report aggregates the costs of objects (warehouses, users, and databases) tagged within a specific tag group over a selected date range. The report is limited to one tag group at a time and includes costs for objects explicitly tagged within that group.

Let’s view the Cost breakdown report.

From the left navigation menu, go to Dashboards, then Cost breakdown report.

From here, adjust filters to focus on the desired allocations. Your selections update each visualization.

  • Date range

  • Tag group: Select warehouses or Snowflake users to view this allocation type

    • Warehouses + Databases: View the report by warehouse, which sums up the costs of all tagged warehouses and associated databases

    • Snowflake users + Databases: View the report by user with the total costs of all tagged users and associated databases

ℹ️
When switching between tag values, Slingshot attributes all of the historical costs to the new tag value without considering when the object tags were assigned. Conversely, for Snowflake users, tag dates matter - cost attribution begins the day you tag the Snowflake user object.
ℹ️
Only tag groups that contain both warehouses and users require a decision for which way to allocate costs. These Snowflake objects share the same pool of compute resources. Therefore to see cost breakdowns for shared resources, choose warehouses or Snowflake users to view allocated costs for that grouping.
  • Export as a PDF: Download a snapshot of the visualizations. For a detailed report, download the .csv file.

  • Download Report to a zip file containing these 4 .csv files:

    • Cost Types Summary.csv

    • [Tag Group Name] Summary.csv

    • [Tag Group Name] Cost Types.csv

    • [Tag Group Name] Breakdown.csv

  • Total costs by tag value: View a pie chart or table

  • Tag value costs over time: Select a week or month along with the tags you’d like see displayed

  • Cost types by tag values: Choose tags from the drop-down list to highlight

  • Top warehouses by cost: a table view of your costliest warehouses

FAQs

1. Why does the total cost of the tag group not match my Snowflake bill, even though all objects are tagged?

Expand
Certain cost types not explicitly tied to a user, warehouse, or database don’t appear in this report but will appear in your Snowflake bill. The report focuses on summing up costs associated with specific tagged objects only.

2. Can I assign multiple tags to objects?

Expand
Yes, you can have as many tags on an object as you want. Due to cost attribution, you can only have one tag value type per group on an object (give an example - the tag value color - could only be one color at a time).

3. Why does the total cost change when toggling between user-based and warehouse-based reports?

Expand

The allocation methods for Snowflake users and warehouses costs differ:

Warehouses: Costs are read directly from Snowflake views such as `WAREHOUSE_METERING_HISTORY`, `METERING_DAILY_HISTORY`, and `QUERY_ACCELERATION_HISTORY`.

Snowflake users: We use a proprietary “time-based model” that looks at all the query loads across a Warehouse and attribute their associated cost.

4. Why can’t I choose specific dates for my date range?

Expand

Snowflake has a one-year data retention policy. The date range is limited to the period for which complete data is available:

  • New Tenants: Up to one year back from the onboarding date

  • Existing Tenants: Approximately one year from the feature release date

5. Why is there no data for comparison/variance calculations in some cases?

Expand

The report will generate comparison calculations to display accurate insights when the comparison period has complete data - ensuring the accuracy of the variance calculations.

  • Comparison Periods

The report compares costs based on a month-to-month model:

  • Whole Month: If the selected range is from the first to the last day of a month, it compares to the same number of complete months in the previous period.

Example: January 1 - January 31 compared to December 1 - December 30.

  • Partial Month: If the range starts on the first but ends mid-month, it compares to the same number of months plus days in the previous period.

Example: January 1 - January 6 compared to February 1 - February 6.

  • Special Cases: For periods longer than the previous period.

Example: March 1 - March 29 compared to February 1 - February 28.

  • Specified Range: If the range starts on a non-first day, it compares to the same number of days before the start of the range.

Example: January 2 - January 10 compared to 8 working days from January 2.