turbot/tailpipe-mod-azure-cost-and-usage-insights

Query: cost_and_usage_actual_overview_dashboard_total_cost

Usage

powerpipe query azure_cost_and_usage_insights.query.cost_and_usage_actual_overview_dashboard_total_cost

SQL

select
'Total Cost (' || billing_currency || ')' as label,
round(sum(cost_in_billing_currency), 2) as value
from
azure_cost_and_usage_actual
where
('all' in ($1) or subscription_id in $1)
group by
billing_currency;

Params

ArgsNameDefaultDescriptionVariable
$1subscription_ids

    Dashboards

    The query is used in the dashboards: