File tree Expand file tree Collapse file tree 1 file changed +63
-0
lines changed
Expand file tree Collapse file tree 1 file changed +63
-0
lines changed Original file line number Diff line number Diff line change 23462346 ],
23472347 "title" : " Campaign channels"
23482348 },
2349+ {
2350+ "attributes" : [
2351+ {
2352+ "description" : " Category" ,
2353+ "id" : " campaign_channels.category" ,
2354+ "sourceColumn" : " category" ,
2355+ "sourceColumnDataType" : " STRING" ,
2356+ "labels" : [],
2357+ "tags" : [
2358+ " Campaign channels"
2359+ ],
2360+ "title" : " Category"
2361+ }
2362+ ],
2363+ "description" : " Campaign channels per categories" ,
2364+ "facts" : [],
2365+ "aggregatedFacts" : [
2366+ {
2367+ "description" : " Budget" ,
2368+ "id" : " budget" ,
2369+ "sourceColumn" : " budget" ,
2370+ "sourceColumnDataType" : " INT" ,
2371+ "tags" : [
2372+ " Campaign channels per category"
2373+ ],
2374+ "sourceFactReference" :{
2375+ "reference" : {
2376+ "id" : " budget" ,
2377+ "type" : " fact"
2378+ },
2379+ "operation" : " SUM"
2380+ }
2381+ }
2382+ ],
2383+ "grain" : [
2384+ {
2385+ "id" : " campaign_channels.category" ,
2386+ "type" : " attribute"
2387+ }
2388+ ],
2389+ "id" : " campaign_channels_per_category" ,
2390+ "references" : [
2391+ {
2392+ "identifier" : {
2393+ "id" : " campaign_channels" ,
2394+ "type" : " dataset"
2395+ },
2396+ "multivalue" : false ,
2397+ "sourceColumns" : [
2398+ " campaign_channel_category"
2399+ ],
2400+ "sourceColumnDataTypes" : [ " STRING" ]
2401+ }
2402+ ],
2403+ "tags" : [
2404+ " Campaign channels per category"
2405+ ],
2406+ "sql" : {
2407+ "statement" : " SELECT category, SUM(budget) FROM campaign_channels GROUP BY category" ,
2408+ "dataSourceId" : " demo-test-ds"
2409+ },
2410+ "title" : " Campaign channels per category"
2411+ },
23492412 {
23502413 "attributes" : [
23512414 {
You can’t perform that action at this time.
0 commit comments