Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
nikitapotapov
Contributor
Contributor

Data property without alternative dimensions and measures

Hello!

I've tried to implement data custom property with simple usage.

data: {
uses: "data"
}

 But it's not documented and It's hard to find how to hide alternative option (dimensions and measures). I've tried to analyze qvangular module, but no help. May somebody has way how to get all not documented properties and its options.

Thank you.

Labels (1)
1 Solution

Accepted Solutions
alex_colombo
Employee
Employee

Hi @nikitapotapov , are you trying to use data property and show dimensions and measures?
Anyway, this is a very simple example about how to add dimensions and measure to data property. As you mentioned, this is not well documented.

definition: {
type: "items",
component: "accordion",
items: {
	data: {
		uses: "data",
		items: {
			dimensions: {
				items: {
					"nullSuppression": {}
				},
				min:1,
				max:1
			},
			measures: {
				min:1,
				max:1
			}
		}
	},

}

 

View solution in original post

1 Reply
alex_colombo
Employee
Employee

Hi @nikitapotapov , are you trying to use data property and show dimensions and measures?
Anyway, this is a very simple example about how to add dimensions and measure to data property. As you mentioned, this is not well documented.

definition: {
type: "items",
component: "accordion",
items: {
	data: {
		uses: "data",
		items: {
			dimensions: {
				items: {
					"nullSuppression": {}
				},
				min:1,
				max:1
			},
			measures: {
				min:1,
				max:1
			}
		}
	},

}