質問の作成方法
Ziaは、質問をさまざまな方法で解析して内容を解釈します。あいまいな質問に対しても、可能な限り意図に沿った内容のレポートを作成します。Ziaに質問するにあたって、作成可能な質問の種類は以下のとおりです。
文章による質問
単語を組み合わせた文章で質問できます。
例:
Show me the sales grouped by country for the year 2018(2018年の国別の売上高を表示して)

単語による質問
文章ではなく、単語の羅列による質問もできます。
例:
India sales in 2019(インド 売上 2019年)

疑問文
疑問文で質問できます。「Ziaに質問」では、「What」(何)、「When」(いつ)、「Who」(誰)、「Where」(どこ)を用いた疑問文の質問が可能です。
例:
What is the last year profit?(昨年の利益はいくらですか?)

明確な質問
データ内の情報を明確に指定した質問が可能です。たとえば、データ内に「Sales」(売上)と「Region」(地域)の列があるとします。以下の質問を行うと、各地域における売上の合計が表示されます。
Get me the sales across the regions(地域ごとの売上を表示して)

あいまいな質問
データ内の情報を明確に指定せず、あいまいに質問することもできます。「Ziaに質問」では、yearly(毎年)、quarterly(毎四半期)、monthly(毎月)、daily(毎日)といった用語が識別されます。以下の質問の例では、「Monthly」(毎月)という用語が識別され、日付の列のデータをもとに月ごとの売上が表示されます。
Monthly Sales(月間の売上)

列の値の指定
列の値を指定して質問できます。たとえば、「Region」(地域)の列に「East」(東部)、「Central」(中部)、「West」(西部)の値が含まれているとします。以下の質問を行うと、「West」(西部)の値が識別され、「West」(西部)の値を除外したグラフが表示されます。
Get me sales across regions except west(西部以外の地域の売上を表示して)

複数のテーブルのデータの指定
複数のテーブルのデータを指定して質問できます。質問の内容で複数のテーブルのデータを指定すると、ルックアップ列によるテーブル間の参照関係に基づいて質問が解釈されます。以下の質問の例では、レポートを作成するにあたって、「Sales」(売上)の列は「Sales」(売上)テーブルから取得され、「Targeted Sales」(目標売上)の列は「Regional Target」(地域目標)のテーブルから取得されます。
sales vs target by region(地域別の売上と目標)

数式列
質問の内容にテーブル内の数式列を含めることもできます。
入力ミス
質問の内容に入力ミス(誤字)が含まれる場合もあります。「Ziaに質問」では、質問の内容に正しくない語句であっても、可能な限り意図に沿った内容のレポートが作成されます。たとえば、以下の質問では「sales」(売上)が「salse」と誤って入力されています。この場合、「Ziaに質問」では「salse」が「sales」(売上)と解釈され、レポートが作成されます。
Show me the salse by salesperson(担当者ごとの「salse」を表示して)

「Ziaに質問」で実行できる処理
「Ziaに質問」では、以下のような処理を実行することができます。
指標の算出
単一または複数の指標に関する質問を行うことができます(例:売上、上位の営業担当者、最も売れている商品)。
単一の指標
単一の指標に関する質問を行うことができます。以下の質問の例では、昨年の「Total Profit」(総利益)が数値のKPIウィジェットとして表示されます。
What is the last year profit?(昨年の利益はいくらですか?)

複数の指標
複数の指標に関する質問を行うことができます。以下の質問の例では、「Total Sales」(総売上)と「Total Profit」(総利益)が円グラフで表示されます。
Sales vs profit(売上と利益)

集計関数の適用
Zoho Analyticsには、合計、件数、平均、累計などのさまざまな集計関数が用意されています。「Ziaに質問」では、最適と判断される関数が列に適用されます。質問内容で適用する集計関数を指定することもできます。
集計関数
質問内容で関数を明確に指定することにより、指標の列に適用する集計関数を指定できます。以下の質問の例では、「Sales」(売上)の列に件数の関数が適用され、月ごとの売上が表示されます。
what is the number of orders we have every month?(毎月の注文数は何件ですか?)

高度な集計関数
「Ziaに質問」では、高度な集計関数にも対応しています。以下の質問の例では、高度な集計関数である累計が「Sales」(売上)の列に適用され、四半期ごとの売上が表示されます。
show me the running total of sales.(売上の累計を表示して)

指標の列のグループ化
「by」、「group by」、「categorized by」、「across」、「wise」などの語句を質問で使用することで、指標の列をグループ化できます。グループ化は、分析軸として指定した列の値をもとに行われます。通常、分析軸には、テキストの値(例:カテゴリー、分類、ランク、地域)や日付の区分(例:年、月、日)などが使用されます。以下の種類のグループ化が可能です。
単一の分析軸による単一の指標のグループ化
以下の質問の例では、「Sales」(売上)の列が「Date」(日付)の列によってグループ化され、月ごとのデータが表示されます。
monthly sales(月間売上)

複数の分析軸による単一の指標のグループ化
以下の質問の例では、「Sales」(売上)の列が「Date」(日付)と「Region」(地域)の列によってグループ化されます。
what is my sales across the regions every month?(地域全体での毎月の売上は?)

単一の分析軸による複数の指標のグループ化
以下の質問の例では、「Sales」(売上)と「Profit」(利益)の列が「Date」(日付)の列によってグループ化されます。
Profit and sales across months(月ごとの利益と売上)

複数の分析軸による複数の指標のグループ化
以下の質問の例では、「Sales」(売上)と「Profit」(利益)の列が、「Date」(日付)と「Region」(地域)の列によってグループ化されます。
Sales and profit across months for each region(各地域における月ごとの売上と利益)

フィルター条件の適用
質問の内容でデータのフィルター条件を指定できます。複数のフィルター条件を指定することも可能です。 適用可能なフィルター条件は以下のとおりです。
テキスト
テキストの列の値をフィルター条件として指定できます。以下の質問の例では、「Region」(地域)のテーブルから「West」(西部)のデータを抽出して「Sales」(売上)が表示されます。
Show me the sales across months where the region is west(西部地域の月ごとの売上を表示して)

数値
数値の列の値をフィルター条件として指定できます。数値の範囲を指定したり、「greater than 10」、「< 10」、「most」、「highest」、「lowest」などの語句を使用して一定の数値を上回る/下回る値や、最大/最小の値を抽出したりできます。 以下の質問の例では、「Deal Size」(金額)が$12,000を超える商談に関する受注率と受注額のデータが表示されます。
Salesperson by win rate and won amount where the deal size >12k(受注率と受注額が12kを超える営業担当者)

範囲
「Top 10」、「Bottom 5」、「Highest」、「lowest」、「most」、「recent」などの語句を使用することで、上位10件や下位5件などの特定の範囲データを抽出できます。 以下の質問の例では、上位10人の営業担当者のデータが表示されます。
My top 10 salespersons by win rate(受注率が上位10人の営業担当者)

特定の日付
「2019」、「March 2018」、「12/3/2019」などの特定の日付でデータを抽出できます。 以下の質問の例では、2018年3月17日にエスカレーションが行われた問い合わせのデータが表示されます。
Escalated tickets on 17 march 2018(2018年3月17日にエスカレーションが行われた問い合わせ)

日付の範囲
特定の日付の範囲でデータを抽出できます。以下の質問の例では、2018年3月3日から2018年9月3日までの期間の「Revenue」(売上)のデータが表示されます。
Show me the revenue by salespersons from 3rd Mar 2018 to 3rd Sept 2018(2018年3月3日から2018年9月3日までの営業担当者ごとの売上を表示して)

相対的な日付 - 「This Month」(今月)、「Last Quarter」(前四半期)、「Today」(今日)などの語句を使用することで、現在の日付を起点とした相対的な期間のデータを抽出できます。 以下の質問の例では、過去1年間における「Revenue」(売上)のデータが表示されます。
Show me the revenue across months for the last year(昨年の月間売上を表示して)

値の除外 - 「exclude」、「except」、「ignore」、「without」などの語句を使用して、特定のデータを除外したレポートを作成できます。以下の質問の例では、「Sales」(売上)のデータについて、「West」(西部)の地域を除外したデータが表示されます。
Sales across regions except west(西部以外の地域の売上)

データの並べ替え
レポート内のデータを並べ替えることができます。並べ替えは、指標の列ごと、または指標をグループ化する列ごとに行うことが可能です。以下の質問の例では、Y軸の「Revenue」(売上)の列に基づいてレポートのデータが並べ替えられます。
Revenue by Salespersons sort by Revenue(売上順の営業担当者別売上)

質問のキーワード
以下の表は、質問の中でZiaが適切に解釈できるキーワードの例の一覧です。
集計関数
|
|
| 内容 |
キーワード(英語) |
| 合計 |
sum、total、tot |
| 最小 |
minimum、min |
| 最大 |
maximum、max、highest、high |
| 件数 |
count、number、no、total number、distinct count、unique、unique count |
| その他 |
standard deviation、std dev(標準偏差)、variance(分散) |
高度な集計関数
|
|
| 内容 |
キーワード(英語) |
| 累計 |
running total、running tot.、running sum |
| 割合(%) |
percentage、total percentage、%、percent、percentage of total、total %、% of total、pct of total、% of sum、sum percentage、sum pct、contribution、contribution of total |
| 差分 |
difference、difference from、diff、growth |
| 差分の割合 |
% of difference、pct of difference、difference %、% diff、difference percentage、difference in percentage |
| 直前の値に対する割合 |
percentage of previous、% of previous、pct of previous、prev %、previous value % |
グループ化
|
|
| 内容 |
キーワード(英語) |
| 数値 |
actual、range、as range、dimension、as dimension |
| 日付(実際の期間) |
year、yearly、year over year、yoy、absyear
quarter、quarterly、quarter over quarter、qoq、absquarter
month、monthly、month over month、mom、month and year、absmonth
week、weekly、week over week、wow、week and year、absweek
day、daily、day over day、absday
date、hour、hourly、minute、second
|
| 日付(周期) |
seasonal day、seasonal month、seasonal year、seasonal week、seasonal quarter |
フィルター
|
|
| 内容 |
キーワード(英語) |
| 数値 |
>、>=、greater than、above、over、beyond、higher than、more than、exceeds
<、<=、lesser than、lower、lower than、less than、below、under
equal to、equals to、equals、=、between
|
| 単位/通貨 |
thousands、k、millions、m、mn、billions、b、bn、Lakhs、L、Crores、C、Rupees、RS、Dollars、$ |
| 範囲 |
top 10、top few、top、top most、highest、best
bottom 10、bottom few、bottom、lowest、worst
|
| テキスト |
starts with、starts with、ends with、contains、is |
| 日付(実際の期間) |
2021、2022、Q1 2022、Q4 of 2022、quarter 1 of 2022
January 2022、Jan 2022、1/2022
15th october、30 july、nineth july 2022、third may 2022、2 feb 2022、2022 mar 4、17/feb、twenty six october
|
| 日付(周期) |
June、may、jul、oct、Sunday、saturday、thurs、tue
1st quarter、2nd quarter、second quarter、third quarter、fourth quarter、first quarter、quarter 4、quarter1
|
| 日付(相対) |
this year、previous year、last year、past year、recent year、previous 3 years、next 3 years、last 3 year、recent 3 years、last nine years、previous few years、recent few years、past few years、recent few decades、previous few decades、past few decades、next few decades、last few years、last decade、recent decade
this quarter、previous quarter、last quarter、this quarter、recent quarter、previous 9 quarters、last 9 quarters、next 9 quarters、recent 5 quarters、previous five quarters、last three quarters、recent few quarters、next few quarters、previous few quarters、past few quarters、last few quarters
this month、previous months、last months、past month、recent months、previous 6 months、next 6 months、last 6 months、recent 6 months、previous thirteen months、recent seventeen months、previous few months、recent few months、previous month、current may、previous november、this apr、past mar
this week、last week、past week、recent week、last few weeks
today、yesterday、tomorrow、recent 3 days、past 21 days、recent few days、next few days、next day、recent day
recent 22 hours、recent 13 hours、next hour、past hour
|
|
値の除外
|
not、except、excluding、without、neither、other than、ignoring、apart. apart from、! =、exclude、exceeding |
並べ替え
|
|
| 内容 |
キーワード(英語) |
| 昇順 |
ascending order、ascending、increasing order、alphabetical order、alphabetical order (a-z) |
| 降順 |
descending、descending order、decreasing order、alphabetical order (z-a) |
| 列ごと |
sorted、sort、sort by column |