Michael Serres
08/16/2022, 8:53 AMMatyáš Kandl
08/16/2022, 8:56 AMparentFilterOverAttribute
as you are saying. It should be likely:
attr.all_vehicles.corr_make
as parentFilterOverAttribute
needs to be attribute identifier, not a display form identifier. Let me know if it helped.Michael Serres
08/16/2022, 9:15 AMMatyáš Kandl
08/16/2022, 11:51 AMMichael Serres
08/16/2022, 1:22 PM{
"error": {
"component": "Resource::Elements::Service",
"errorClass": "GDC::Exception::User",
"message": "wrong dimensionalities in image: subtree={\"subset\":{\"dim\":[\"2870\"],\"what\":\"attribute\",\"set\":[148048]}} over=2870 to=2874 ast={type=image,value=undefined,content=[...]}",
"parameters": [],
"requestId": "qV83gjt67QUN7Ehu:oix654ruq58vnfrk"
}
}
Michael Serres
08/16/2022, 2:00 PMMichael Serres
08/25/2022, 6:24 AMDan Homola
08/25/2022, 6:54 AMattr.all_vehicles.corr_make
on the path between the parent and child attributes? For example in my demo model on the picture, I can limit the values of EmployeeName by LocationName connecting them using the LineItemId attribute. Please make sure there is a path between your two attributes like that.Michael Serres
08/25/2022, 8:28 AMDan Homola
08/25/2022, 9:13 AMparentFilterOverAttribute
. Continuing the example I gave above: to restrict LocationName
by LocationCity
I can use the LocationId
attribute (notice it is the key of the table).
So in your case to restrict label.all_vehicles.corr_model
by label.all_vehicles.corr_make
you need to use the key attribute of your car table.
Does this make sense? 🙂Michael Serres
08/25/2022, 11:14 AMMichael Serres
08/25/2022, 11:17 AMDan Homola
08/25/2022, 12:01 PMparentFilterOverAttribute
for each parent filter (which will likely be necessary), you can use the function version of the parentFilterOverAttribute
prop: https://sdk.gooddata.com/gooddata-ui-apidocs/docs/sdk-ui-filters.iattributefilterprops.parentfilteroverattribute.html