Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Exploratory Seminar #40 - Introduction to Various Filter Types

Exploratory Seminar #40 - Introduction to Various Filter Types

There are various Filter types in Exploratory such as Step Filter, Chart Filter, Table View Filter, etc. In this seminar, Kan will introduce all things related to filtering the data in Exploratory and discuss when and how you want to use them.

* Step Filter
* Chart / Analytics Filter
* Table View Filter
* Chart - Limit Values
* Filter with Parameter
* Highlight - Summary View & Chart

Twitter ↓
https://twitter.com/ExploratoryData

UI Tool: Exploratory(https://exploratory.io/)
Exploratory Online Seminar: https://exploratory.io/online-seminar

Kan Nishida

April 01, 2021
Tweet

More Decks by Kan Nishida

Other Decks in Technology

Transcript

  1. Kan Nishida CEO/co-founder Exploratory Summary In Spring 2016, launched Exploratory,

    Inc. to democratize Data Science. Prior to Exploratory, Kan was a director of product development at Oracle leading teams to build various Data Science products in areas including Machine Learning, BI, Data Visualization, Mobile Analytics, Big Data, etc. While at Oracle, Kan also provided training and consulting services to help organizations transform with data. @KanAugust Speaker
  2. 5 Questions Communication Data Access Data Wrangling Visualization Analytics (Statistics

    / Machine Learning) Data Analysis Data Science Workflow
  3. 6 Questions Communication (Dashboard, Note, Slides) Data Access Data Wrangling

    Visualization Analytics (Statistics / Machine Learning) Data Analysis ExploratoryɹModern & Simple UI
  4. • Filter Basics • Filter Types - Step Filter, Chart

    Filter, Table View Filter • Various Filter Operator Types for Various Data Types • Filter with Summarize Function • Filter with Parameter • Chart: Limit Value • Highlight - Chart & Summary View Agenda
  5. • Filter Basics • Filter Types - Step Filter, Chart

    Filter, Table View Filter • Various Filter Operator Types for Various Data Types • Filter with Summarize Function • Filter with Parameter • Chart: Limit Value • Highlight - Chart & Summary View Agenda
  6. 11 Filter - Keep only the 2020 data. Year Country

    Sales 2019 Japan 1200 2019 US 900 2019 UK 500 2020 Japan 2000 2020 US 1500 2020 UK 800 Year Country Sales 2020 Japan 2000 2020 US 1500 2020 UK 800
  7. 12 Filter - Keep only Japan data. Year Country Sales

    2019 Japan 1200 2019 US 900 2019 UK 500 2020 Japan 2000 2020 US 1500 2020 UK 800 Year Country Sales 2019 Japan 1200 2020 Japan 2000
  8. 13 Filter - Keep only the data with Sales being

    greater than $1,000. Year Country Sales 2019 Japan 1,200 2019 US 900 2019 UK 500 2020 Japan 2,000 2020 US 1,500 2020 UK 800 Year Country Sales 2019 Japan 1,200 2020 US 2,000 2020 UK 1,500
  9. • Filter Basics • Filter Types - Step Filter, Chart

    Filter, Table View Filter • Various Filter Operator Types for Various Data Types • Filter with Summarize Function • Filter with Parameter • Chart: Limit Value • Highlight - Chart & Summary View Agenda
  10. • Step Filter • Chart (or Analytics) Filter • Table

    View Filter 15 There are 3 main types of Filters in Exploratory.
  11. • Step Filter • Chart (or Analytics) Filter • Table

    View Filter 16 There are 3 main types of Filters in Exploratory.
  12. 17 We want to filter to keep only 2020 data

    based on the Order Date column.
  13. 19 Type 2020 as the value. This makes the filter

    condition to be ‘Order Date is 2020’.
  14. 20 Now the data is only for 2020. And the

    filter definition is registered as a new Step.
  15. • Step Filter • Chart (or Analytics) Filter • Table

    View Filter 21 There are 3 main types of Filters in Exploratory.
  16. 32 Now, the chart is ‘pinned’ to the ‘Step 5

    - Filter’. This means it is showing only the 2020 data.
  17. 33 If you want to see the whole data without

    the 2020 filter you can move the ‘pinned’ position to the previous step by drag-and-drop.
  18. • Step Filter • Chart (or Analytics) Filter • Table

    View Filter 34 There are 3 main types of Filters in Exploratory.
  19. 35 If you want to find a particular set of

    data quickly, try Table View Filter. I wanted to see the orders for products that contains ‘Smart Phone’ in their names.
  20. 36 Just like the Chart filter, this won’t create a

    Step (right-hand-side). It lives only inside the Table view.
  21. • Filter Basics • Filter Types - Step Filter, Chart

    Filter, Table View Filter • Various Filter Operator Types for Various Data Types • Filter with Summarize Function • Filter with Parameter • Chart: Limit Value • Highlight - Chart & Summary View Agenda
  22. 45 For the Date / POSIXct columns, you can set

    the unit of date and time data when you create a Filter condition.
  23. Absolute Date Filter • equal to / not equal to

    • is in / is not in • earlier than • later than • between
  24. 2018 2017 Year == 2017 2016 Year > 2016 2019

    Between 2017-06-01 and 2018-1-30 Absolute Date
  25. Today 2018 2017 Previous Year This Year 2016 Last 2

    Years 2019 Year to Date Relative Date
  26. 52

  27. 53 Here, I’m setting to keep only the data in

    the last 12 months. When I open this data next month the period will be different.
  28. • Filter Basics • Filter Types - Step Filter, Chart

    Filter, Table View Filter • Various Filter Operator Types for Various Data Types • Filter with Summarize Function • Filter with Parameter • Chart: Limit Value • Highlight - Chart & Summary View Agenda
  29. 55 Let’s say we want to keep only the orders

    with the sales greater than the average, which is $756.
  30. 57 The problem is, when you update the data by

    re-importing the latest data it is not guaranteed that the mean value will be the same.
  31. 58 This means, you will need to manually modify the

    value every time you re-import the data.
  32. 60 Summarize functions return summarized values such as mean, sum,

    etc. Average Sales 200 Order Date Country Sales 2020-01-02 Japan 50 2020-05-11 Japan 150 2021-02-13 Japan 400
  33. 61 Average Sales 200 Order Date Country Sales 2020-01-02 Japan

    50 2020-05-11 Japan 150 2021-02-13 Japan 400 You can use the summarize functions (e.g. mean) to make your filter condition reflect the data dynamically.
  34. 62 You can use the Summarize Function for Numeric and

    Date/POSIXct columns. Numeric Date/POSIXct
  35. 65 There is another very common scenario where you want

    to use the summarize function in the Filter.
  36. 66 Let’s say you want to keep only the latest

    part of a given data. The last month of ‘Order Date’ is December, 2020.
  37. 68 But, when you re-import the data in the next

    month, the ‘2020-12’ will not be the latest month.
  38. 70 Now, it’s guaranteed to filter the data that is

    always the latest month regardless of when you re-import the data.
  39. • Filter Basics • Filter Types - Step Filter, Chart

    Filter, Table View Filter • Various Filter Operator Types for Various Data Types • Filter with Summarize Function • Filter with Parameter • Chart: Limit Value • Highlight - Chart & Summary View Agenda
  40. My team mates can open the data page in their

    web browsers and download the data.
  41. 75 Me Team Mates I want data for Europe. I

    want data for Africa. I want data for Asia. Exploratory Server
  42. 77 This data uses this Filter step to filter the

    data by a ‘Market is USCA’ condition.
  43. Instead of ‘hard-coding’ the Market value, we can use Parameter

    to make the Filter dynamic. You can create a new parameter from here.
  44. Select the same data frame and the step before the

    Filter step to get a list of values from the Market column.
  45. In order to use the Parameter, you want to turn

    on the ‘Use Parameter’ mode first.
  46. Once the data is returned, then you can click on

    the ‘Download’ button to download the data if you want.
  47. 89 Me Team Mates I want data for Europe. I

    want data for Africa. I want data for Asia. Exploratory Server By parameterizing the data, everyone can get their own preferred data set. Publish
  48. 93 Take a look at a past seminar ‘How to

    Use Parameter’ for more details on Parameter.
  49. 94

  50. 95

  51. • Filter Basics • Filter Types - Step Filter, Chart

    Filter, Table View Filter • Various Filter Operator Types for Various Data Types • Filter with Summarize Function • Filter with Parameter • Chart: Limit Value • Highlight - Chart & Summary View Agenda
  52. 98 There are a lot of countries, but most of

    them are in the very low range.
  53. 99 We want to keep only the countries with total

    sales that are greater than $100,000.
  54. 100 The Chart Filter is to filter the original data

    that is before the chart summarize it.
  55. 102 Order Date Country Sales 2020-01-01 US 200 2020-01-01 Japan

    100 2020-01-02 US 300 ɾɾɾ ɾɾɾ ɾɾɾ 2020-12-31 UK 150 Country Total Sales US 2,000 Japan 1,200 UK 1,000 France 600 Germany 400 Summarize Original Data Summarized Data Chart
  56. 103 Order Date Country Sales 2020-01-01 US 200 2020-01-01 Japan

    100 2020-01-02 US 300 ɾɾɾ ɾɾɾ ɾɾɾ 2020-12-31 UK 150 Country Total Sales US 2,000 Japan 1,200 UK 1,000 France 600 Germany 400 Summarize Filter on Original Data Filter on Summarized Data This is what we want!
  57. 104 Filter Limit Order Date Country Sales 2020-01-01 US 200

    2020-01-01 Japan 100 2020-01-02 US 300 ɾɾɾ ɾɾɾ ɾɾɾ 2020-12-31 UK 150 Country Total Sales US 2,000 Japan 1,200 UK 1,000 France 600 Germany 400 Summarize You can use ‘Limit’ feature to filter against the summarized data.
  58. 110 Now we can see only the top 20 countries

    based on the total sales amount.
  59. • Filter Basics • Filter Types - Step Filter, Chart

    Filter, Table View Filter • Various Filter Operator Types for Various Data Types • Filter with Summarize Function • Filter with Parameter • Chart: Limit Value • Highlight - Chart & Summary View Agenda
  60. 112 We want to know how Japan is, but in

    a compared way against other countries.
  61. 117 We have the Table View Filter. We can use

    the data only in the Table View.
  62. You can see how the 2,216 rows of US data

    is in a compared way with all the other values.
  63. By clicking on the Ratio button, you can see the

    ratio of the US data in each column. For example, the orders from US seem to be higher chance of being Returns.