<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Calculating BILLING_USAGE_EVENT data to currency in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Calculating-BILLING-USAGE-EVENT-data-to-currency/m-p/292378#M2995</link>
    <description>&lt;P&gt;I found some way eventually which seems to suit my needs for now and I save the prices as variables and make the calculation like this. Maybe not the best way to achieve what I need but it was we first way to get the data I need.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;| fieldsAdd Euro = (total_billed_usage[]*toDouble($FullStackPrice))&lt;BR /&gt;&lt;BR /&gt;Full query:&lt;BR /&gt;&lt;BR /&gt;fetch dt.system.events&lt;BR /&gt;| filter event.kind == "BILLING_USAGE_EVENT" and event.type == "Full-Stack Monitoring"&lt;BR /&gt;| dedup event.id&lt;BR /&gt;| makeTimeseries total_billed_usage = sum(billed_gibibyte_hours), interval: 24h, time: usage.start&lt;BR /&gt;| fieldsAdd Euro = (total_billed_usage[]*toDouble($FullStackPrice))&lt;BR /&gt;| fieldsRemove total_billed_usage&lt;/P&gt;</description>
    <pubDate>Fri, 02 Jan 2026 08:52:41 GMT</pubDate>
    <dc:creator>janne-olkoniemi</dc:creator>
    <dc:date>2026-01-02T08:52:41Z</dc:date>
    <item>
      <title>Calculating BILLING_USAGE_EVENT data to currency</title>
      <link>https://community.dynatrace.com/t5/DQL/Calculating-BILLING-USAGE-EVENT-data-to-currency/m-p/292343#M2987</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;Could someone help me a bit with DQL queries since I'm feeling quite rusty with it currently &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;I would need to calculate the billing usage data on actual currency and not sure what could be the most feasible way to archive it.&lt;BR /&gt;&lt;BR /&gt;I would appreciate if someone could make some example with Full-Stack Monitoring data that how to calculate and show the timeseries data in euros. How to example translate this on to currency if we would say that the cost is example 1000 €&amp;nbsp;Per 100,000 memory-gibibyte-hours?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;fetch dt.system.events&lt;BR /&gt;| filter event.kind == "BILLING_USAGE_EVENT" and event.type == "Full-Stack Monitoring"&lt;BR /&gt;| dedup event.id&lt;BR /&gt;| makeTimeseries total_billed_usage = sum(billed_gibibyte_hours), interval: 24h, time: usage.start&lt;/P&gt;</description>
      <pubDate>Wed, 31 Dec 2025 12:00:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Calculating-BILLING-USAGE-EVENT-data-to-currency/m-p/292343#M2987</guid>
      <dc:creator>janne-olkoniemi</dc:creator>
      <dc:date>2025-12-31T12:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating BILLING_USAGE_EVENT data to currency</title>
      <link>https://community.dynatrace.com/t5/DQL/Calculating-BILLING-USAGE-EVENT-data-to-currency/m-p/292347#M2988</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Maybe you can follow &lt;A title="Allocate your DPS costs" href="https://docs.dynatrace.com/docs/shortlink/dps-manage-cost-allocation" target="_blank" rel="noopener"&gt;Allocate your DPS costs&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Dynatrace already provide a dashboard about it but you need to follow some tagging / properties rules. You have more details in &lt;A title="this thread" href="https://community.dynatrace.com/t5/DPS-Cost-Allocation/DPS-Cost-Allocation-Dashboard-UPDATED-v3-3/m-p/268578" target="_blank" rel="noopener"&gt;this thread&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Wed, 31 Dec 2025 13:47:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Calculating-BILLING-USAGE-EVENT-data-to-currency/m-p/292347#M2988</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2025-12-31T13:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating BILLING_USAGE_EVENT data to currency</title>
      <link>https://community.dynatrace.com/t5/DQL/Calculating-BILLING-USAGE-EVENT-data-to-currency/m-p/292350#M2990</link>
      <description>&lt;P&gt;Hi Anton,&lt;BR /&gt;&lt;BR /&gt;Thanks for your suggestion and yep, the cost allocation is my long term plan but I will take some time before we would get the base ready for it since it also need some contribution from our customer side.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Currently I'm trying to find some easy way to calculate the top level prices on dashboards and I will allocate some more time for DQL now so that maybe in some point I can figure out this quite of questions ny myself &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;We have old style of dashboard for the cost calculation since it's quite straightforward with Data Explorer but would be nice to archive something similar with the new dashboards.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;&lt;BR /&gt;Janne&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Dec 2025 14:16:13 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Calculating-BILLING-USAGE-EVENT-data-to-currency/m-p/292350#M2990</guid>
      <dc:creator>janne-olkoniemi</dc:creator>
      <dc:date>2025-12-31T14:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating BILLING_USAGE_EVENT data to currency</title>
      <link>https://community.dynatrace.com/t5/DQL/Calculating-BILLING-USAGE-EVENT-data-to-currency/m-p/292372#M2993</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Since you have already something in dashboard classic. That metrics can be showed in new dashboards as well.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jan 2026 07:37:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Calculating-BILLING-USAGE-EVENT-data-to-currency/m-p/292372#M2993</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2026-01-02T07:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating BILLING_USAGE_EVENT data to currency</title>
      <link>https://community.dynatrace.com/t5/DQL/Calculating-BILLING-USAGE-EVENT-data-to-currency/m-p/292378#M2995</link>
      <description>&lt;P&gt;I found some way eventually which seems to suit my needs for now and I save the prices as variables and make the calculation like this. Maybe not the best way to achieve what I need but it was we first way to get the data I need.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;| fieldsAdd Euro = (total_billed_usage[]*toDouble($FullStackPrice))&lt;BR /&gt;&lt;BR /&gt;Full query:&lt;BR /&gt;&lt;BR /&gt;fetch dt.system.events&lt;BR /&gt;| filter event.kind == "BILLING_USAGE_EVENT" and event.type == "Full-Stack Monitoring"&lt;BR /&gt;| dedup event.id&lt;BR /&gt;| makeTimeseries total_billed_usage = sum(billed_gibibyte_hours), interval: 24h, time: usage.start&lt;BR /&gt;| fieldsAdd Euro = (total_billed_usage[]*toDouble($FullStackPrice))&lt;BR /&gt;| fieldsRemove total_billed_usage&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jan 2026 08:52:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Calculating-BILLING-USAGE-EVENT-data-to-currency/m-p/292378#M2995</guid>
      <dc:creator>janne-olkoniemi</dc:creator>
      <dc:date>2026-01-02T08:52:41Z</dc:date>
    </item>
  </channel>
</rss>

