Skip to content

Instantly share code, notes, and snippets.

View Lahannin's full-sized avatar

Lauri Hänninen Lahannin

View GitHub Profile
{
"meta": {
"theme": "onepage"
},
"basics": {
"name": "Lauri Hänninen",
"label": "Sr. Technical Product Marketing Manager | Data | Analytics | Technology",
"image": "",
"email": "lahannin@gmail.com",
"summary": "An experienced product marketer with a diverse professional experience in customer-facing and leadership roles across various industries, including startups, global digital agencies, and technology. I am well-regarded by my colleagues for my proactive, detail-oriented, and data-driven approach. I have a strong track record of successfully delivering projects of various scales and have developed a deep understanding of the technical aspects of analytics, SaaS products, and product marketing. I have also had the privilege of being a speaker at Product School and the KPMG Data Festival.\n\nIn my current role as a Senior Technical Product Marketing Manager, I collaborate closely with technical and non-technical colleagues from Marketing, Sales, Product, and Engineering to ens
-- This imports the semantic model into the 'compute' pseudo-table.
CALL import_gooddata('demo', 'compute');
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
CREATE SERVER multicorn_gooddata FOREIGN DATA WRAPPER multicorn
OPTIONS (
wrapper 'gooddata_fdw.GoodDataForeignDataWrapper',
host 'http://gooddata-cn-ce:3000', -- host equal to name of container with GoodData.CN.CE
token 'YWRtaW46Ym9vdHN0cmFwOmFkbWluMTIz', -- default gooddata-cn-ce token, documented in public DOC as well
headers_host 'localhost'
);
export const appName = "demo";
export const backend = "http://localhost:3000/";
export const workspace = "demo";
export const workspaceFilter = undefined;
import React from "react";
import Page from "../components/Page";
import * as Md from "../md/full";
import { PivotTable } from "@gooddata/sdk-ui-pivot";
const Home = () => {
return <Page>
<div style={{ height: 400 }}>
<PivotTable
{
"dataSources": {
"enableCaching": false,
"id": "demo-ds",
"name": "demo-ds",
"pdm": {
"tables": [
{
"columns": [
{
{
"data": {
"attributes": {
"title": "Sales Dashboard",
"description": "A dashboard that provides a visual representation of total sales",
"content": {
"filterContextRef": {
"identifier": {
"id": "date_filter",
"type": "filterContext"
{
"data": {
"attributes": {
"title": "Total Sales by Year",
"description": "Total Sales by Year",
"content": {
"buckets": [
{
"items": [
{
{
"data": {
"attributes": {
"title": "Total Sales",
"description": "The value of all the products sold over time.",
"content": {
"format": "$#,##0.00",
"maql": "SELECT SUM({fact/price}* SUM({fact/quantity}))"
}
},