cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Data explorer CSV into Excel

elenaperez
Dynatrace Participant
Dynatrace Participant

Hi,

When trying to export a graph from the data explorer in CSV format, I only get 3 empty columns (metricId, time and value).

elenaperez_0-1709039787637.png

I don't want to export the static CSV file because I would like to refresh it from Excel directly. With JSON format, I am having problems getting the graph.
Is there a way to get the CSV file in Excel and be able to update it from there directly?

Thanks in advance!

 

3 REPLIES 3

AntonPineiro
DynaMight Guru
DynaMight Guru

Hi Elena,

Maybe this can be helpful.

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

elenaperez
Dynatrace Participant
Dynatrace Participant

Hi Anton,

No, I added the Api Token like that and it doesn't give me any errors. But the result is not the data for the graph.
Regards.

PierreGutierrez
Dynatrace Advisor
Dynatrace Advisor

Hi @elenaperez 
Yes, it's possible to export data and refresh directly in Excel.

1.- Define your query of Data Explorer.

PierreGutierrez_0-1714771470511.png


2.- Use the API to execute the metric selector: https://{environmentid}.live.dynatrace.com/api/v2/metrics .https://docs.dynatrace.com/docs/shortlink/api-metrics-v2-get-all) 

PierreGutierrez_1-1714771958656.png

 

3.- Connect the API in Excel with PowerQuery 

 With this way you can execute the Metric Selector in Dynatrace API, connect with excel and refresh data 

I hope it's helful 💪

 

Pierre Gutierrez - LATAM ACE Consultant - Loving Cats! Loving Technology !

Featured Posts