web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Sum cost data from JSO...
Power Automate
Unanswered

Sum cost data from JSON by two variables Service and Date

(0) ShareShare
ReportReport
Posted on by

hi,

 

I have a JSON file of the following format. I want to Sum the total_cost per service_name and usage_date.

Thanks for the help

 

[
    {
        "group_by": "Amazon Elastic Compute Cloud",
        "usage_date": "2024-03-01",
        "account_id": "857346950259",
        "service_name": "Amazon Elastic Compute Cloud",
        "total_cost": 1037.49916,
        "total_usage_quantity": 4654.7396076438,
        "resource_name": "",
        "resource_id": ""
    },
    {
        "group_by": "Amazon Elastic Container Service for Kubernetes",
        "usage_date": "2024-03-01",
        "account_id": "857346950259",
        "service_name": "Amazon Elastic Container Service for Kubernetes",
        "total_cost": 426.107122,
        "total_usage_quantity": 21358.95326387,
        "resource_name": "",
        "resource_id": ""
    },
Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 304

#2
David_MA Profile Picture

David_MA 245 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 243 Most Valuable Professional

Last 30 days Overall leaderboard