Vikraman
11/22/2024, 8:55 AMfilterContextRefhttps://{env}.cloud.gooddata.com/api/v1/actions/workspaces/{workspaceId}/execution/afm/execute{
  "resultSpec": {
    "dimensions": [
      {
        "localIdentifier": "dim_0",
        "itemIdentifiers": [
          "measureGroup"
        ]
      }
    ],
    "totals": []
  },
  "execution": {
    "measures": [
      {
        "localIdentifier": "m_c_gwp_100_sum",
        "definition": {
          "measure": {
            "item": {
              "identifier": {
                "id": "c_gwp_100",
                "type": "fact"
              }
            },
            "aggregation": "SUM"
          }
        }
      }
    ],
    "attributes": [],
    "filters": [
      {
        "positiveAttributeFilter": {
          "label": {
            "identifier": {
              "id": "org_id",
              "type": "label"
            }
          },
          "in": {
            "values": [
              "ABC"
            ]
          }
        }
      }
    ],
    "auxMeasures": []
  },
  "settings": {}
}const orgFilter = newPositiveAttributeFilter(
    idRef("org_id", "label"),  // matches the id from JSON
    ["ABC - XYZ"]
  );
  const filterContext = {
    filtersByIdentifier: {
      orgFilter: orgFilter
    }
  };
<Dashboard
    config={{ initialRenderMode: 'view', isReadOnly: true }}
    dashboard={props.dashboardId}
    filterContextRef={filterContext}
/>Unexpected URI: "undefined"Julius Kos
11/22/2024, 12:13 PMVikraman
11/22/2024, 12:19 PMVikraman
11/25/2024, 10:07 AMVikraman
11/26/2024, 8:54 AMconst filterContextRef = {
    content: {
      filters: [
        {
            attributeFilter: {
                displayForm: {
                    identifier: {
                        id: "org_id",
                        type: "label"
                    }
                },
                attributeElements: {
                    uris: ["Titan - XYZ", "Titan - ABC"]
                },
                negativeSelection: false,
                selectionMode: "multi"
            }
        }
      ],
      version: "2"
    }
  };<Dashboard
              config={{ initialRenderMode: 'view', isReadOnly: true }}
              dashboard={props.dashboardId}
              filterContextRef={filterContextRef}
            />Radek Novacek
11/26/2024, 2:58 PMVikraman
11/26/2024, 3:21 PMVikraman
11/27/2024, 12:33 PMVikraman
11/28/2024, 1:18 PMRadek Novacek
11/28/2024, 1:20 PMVikraman
11/28/2024, 1:24 PMRadek Novacek
11/28/2024, 3:09 PMfilterContextRefMd.RestaurantCategorycatalog.tssrc/gdc/md//api/v1/entities/workspaces/{workspaceId}/attributes/{objectId}Vikraman
11/29/2024, 3:57 PMuris: ["/gdc/md/xms7ga4tf3g3nzucd8380o2bev8oeknp/obj/2196/elements?id=1"]2196id=1/api/v1/entities/workspaces/{workspaceId}/attributes/{objectId}21962196id=1Radek Novacek
11/29/2024, 5:53 PMRadek Novacek
12/04/2024, 2:00 PMVikraman
12/17/2024, 7:41 AM