Hi Josue Serrano,
If I understand your property clearly; you can create a custom service and call QueryPropertyHistory service in it and assign the datashape for Infotable as output as per your requirement.
How should I perform assigning the QueryPropertyHistory results to a DataShape of my choice? If I use the "QueryPropertyHistory" snippet under "Me" I assume I get an Infotable that has "undefined" as the DataShape:
// result: INFOTABLE dataShape: "undefined"
var result = me.QueryPropertyHistory(params);