View
4
Download
0
Category
Preview:
Citation preview
Hacking Domo WebformCreate "Excel Like" Reports
Pearce Aurigemma, Sr Business Intelligence Manager, MobileIron
Skills You Need• Basic HTML & CSS• Basic SQL• DataFlow Experience
Note: All Data In this Presentation is obfuscated
Lookup Table DataFlow ExampleSet
‘lookup’ string and
join together
Filter & group to create individual cells
Initial calculations to support filters
1 Table Layout/Design – HTML Cell
<div style="font-weight: bold; font-size: 125%; color: rgb(192,80,77);">Example Text
</div>
2 Lookup Table
• Use data flows to build lookup table• Name columns
• “lookup”• “value”
• Row order does not matter
3 SQL DataFlow
• Name your SQL Data Flow• Select the two Datasets• Add/Update SQL Transforms• Set Output to Layout
Dataset
3 SQL DataFlow
• Name your SQL Data Flow• Select the two Datasets• Add/Update SQL Transforms• Set Output to Layout
Dataset• Trigger upon Update
QUESTIONS?/* ColumnX */UPDATE `layout_table` AS t1SET ColumnX = IFNULL((SELECT REPLACE(t1.`ColumnX`, t2.`lookup`, t2.`value`)FROM `lookup_table` AS t2WHERE INSTR(t1.`ColumnX`, t2.`lookup`) > 0), t1.`ColumnX`)
3 SQL DataFlow
Column#
Tips & Advanced Ideas• Use as little HTML as possible• The SQL will replace lookup values in cells with additional text• You can create dynamic rules
• Example: Negative numbers are red• Does not work on Domo Mobile App
Recommended