MCPcopy Create free account
hub / github.com/microsoft/SandDance / getDataPoint

Function getDataPoint

packages/powerbi/src/convertFilter.ts:38–44  ·  view source on GitHub ↗
(GL_ORDINAL: number, data: object[])

Source from the content-addressed store, hash-verified

36}
37
38function 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
46function filterSimilar(data: object, columns: powerbiVisualsApi.DataViewMetadataColumn[], filters: powerbiModels.IFilter[]) {
47 columns.forEach(column => {

Callers 1

convertFilterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected