Function
getDataPoint
(GL_ORDINAL: number, data: object[])
Source from the content-addressed store, hash-verified
| 36 | } |
| 37 | |
| 38 | function getDataPoint(GL_ORDINAL: number, data: object[]) { |
| 39 | for (let i = 0; i < data.length; i++) { |
| 40 | if (data[i][SandDance.constants.GL_ORDINAL] === GL_ORDINAL) { |
| 41 | return data[i]; |
| 42 | } |
| 43 | } |
| 44 | } |
| 45 | |
| 46 | function filterSimilar(data: object, columns: powerbiVisualsApi.DataViewMetadataColumn[], filters: powerbiModels.IFilter[]) { |
| 47 | columns.forEach(column => { |
Tested by
no test coverage detected