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

Dynatrace API Metric Ingestion - How do I get it to display properly in Power BI?

badgerfifteen
Participant

I ingest data from the Dynatrace API in relation to the drive utilisation of servers. In order to get it to a readable state, I had to Unpivot columns as it was presented like this when it came through:

ComputerRESULTS.DATE.0RESULTS.DATE.1RESULTS.DATE.2xxxxxRESULTS.VALUE.0RESULTS.VALUE.1xxx
COMP-457312/12/202313/12/202314/12/2023xxxx546385699

xxxx

xxxxxxxxxxxxxxxxxxxxxxxxxx

xxxx

 

The RESULTS.DATE (they were in EPOCH Time but did some transformations to get it to a friendly date) columns would repeat for at least 30 times and so would the RESULTS.VALUE column. They both were Unpivoted to combine the two categories together. So now the Date and Results column are in one belonging to their respective category. 

The issue I am having is that there is a lot of duplicate dates for the same 'Computer' but the Results column is different too. So it looks like this

ComputerRESULTS.DATERESULTS.VALUE
COMP-457312/12/202358.1
COMP-457312/12/202358.12
COMP-457312/12/202358.5
COMP-457312/12/202357.8
COMP-457313/12/202360
COMP-457313/12/202361.2
COMP-457313/12/202361.2
xxxxxxxx61.3

 

If I put the visualisation as a table, it is apparent the results value is different and there is variation

Is there a sort of measure or DAX expression which collates the date as one value with the results value? Or to only take in one value from the date column?

1 REPLY 1

Yosi_Neuman
DynaMight Guru
DynaMight Guru

Hi @badgerfifteen 

If you are using get metric Rest API, did you tried the resolution parameter with 1d ?

Yosi_Neuman_0-1711793088829.png

HTH

Yos 

dynatrace certificated professional - dynatrace master partner - Matrix Soft Ware Division - Israel

Featured Posts