-
1. Re: グラフ軸の表示期間の制限について
Shinichiro MurakamiNov 11, 2016 8:21 PM (in response to Shinobu Nakazato)
大変申し訳ないですが、説明に加えて、パッケージドワークブックそのものを添付していただけないでしょうか。。
データがない場合、こっちでテキトーに作るんですが、それ自体が非常に手間なのと、
データ構成が想定と違うことが多いので、二度手間、三度手間になることが多いです。
ご理解ください。
むらかみ
-
2. Re: グラフ軸の表示期間の制限について
Shinobu Nakazato Nov 14, 2016 2:17 AM (in response to Shinichiro Murakami)村上さま
ご返信をありがとうございます。
パッケージドワークブックの件、大変失礼いたしました。。
重ねてで申し訳ありませんが、ファイルの添付方法がわからず…教えていただけますでしょうか?
(動画や画像、リンクの挿入などは見つけられたのですが・・・)
お手数をおかけして申し訳ございませんが、どうぞよろしくお願いいたします。
ナカザト
-
3. Re: グラフ軸の表示期間の制限について
Shinichiro MurakamiNov 14, 2016 11:15 AM (in response to Shinobu Nakazato)
あとで翻訳もつけますが、ひとまずこれで。
公式サイトと、以下の英文で
公式サイト
How?
- Export a packaged workbook. A packaged workbook is a workbook file that has the data packaged into it so others can open and view your viz without having access to your data source or other resources. A regular workbook (.twb) is a text file in an XML format that defines how to construct the view based on the data in the connection and other resources defined in the workbook. On the other hand, a packaged workbook (.twbx) is in a binary format that includes the data itself as well as other objects in the view.
- See Packaged Workbooks documentation for details.
- Remember, the if your data source is a live connection to a database, like SQL, Redshift, etc., you must extract it. Creating a packaged workbook with a live database connection is useless.
- Attach it to your post. See Attaching a Packaged Workbook.
- Please
- "I have confidential data"
- Create a mock-up using the Tableau Superstore database, the Coffee Chain database, or some other fake data that you made up.
- Replace any confidential information in your data set. See Anonymize your Tableau Package Data for Sharing |Tableau Support Community for a detailed explanation of how to do this.
- Remember that numbers, database identity fields, dollar amounts and even geography like zip code or latitude and longitude, have no meaning in themselves. Things that you should not include, and need obfuscation:
- Bank account or credit card numbers
- Names, addresses, email addresses, phone numbers, birth dates, and names of families or individuals
- Company names, brand names
- Government or military targets or operations
- Remember, while this may take what seems to you like a lot of time, it really takes less time than all of the discussion that occurs trying to avoid it. Just give up and do it.
- Clearly documentIf you don't know your goal, you will never find it.
- What are you trying to understand about the data?
- What questions are you trying to answer?
- How will the answers to those questions be used to make business decisions?
- Include a Truth Table or its equivalent, showing all of your possible input values and your corresponding desired or expected output values. Make sure you have considered each possible variable.
- It is also helpful if you document what resources you have used, so we don't just point you back to the same ones you already saw.
Finally, and you might have seen this comment elsewhere, forget Excel. Don't try to make Tableau behave like Excel. They are very different paradigms. If you want Excel behavior, use Excel!
PLEASE NOTE: This is an informational document, not a Q & A Forum. Comments to the accuracy and completeness of this document are welcome here so this document can grow, and remain accurate and relevant. However, questions or discussions about how to perform any of these functions belong in the Q & A Forums.
- Export a packaged workbook. A packaged workbook is a workbook file that has the data packaged into it so others can open and view your viz without having access to your data source or other resources. A regular workbook (.twb) is a text file in an XML format that defines how to construct the view based on the data in the connection and other resources defined in the workbook. On the other hand, a packaged workbook (.twbx) is in a binary format that includes the data itself as well as other objects in the view.
-
4. Re: グラフ軸の表示期間の制限について
Shinichiro MurakamiNov 14, 2016 11:16 AM (in response to Shinichiro Murakami)
-
5. Re: グラフ軸の表示期間の制限について
Shinobu Nakazato Nov 14, 2016 4:38 PM (in response to Shinichiro Murakami)村上さま
ご返信をありがとうございます。
パッケージドワークブックの作成はできるのですが、下記がうまく表示されず、ファイル添付を進められなくて困っております。
ご返信でいただいた画像で、赤で囲ってある部分
右上:Advanced editor and add an attachment
右下:Attach
こちらはどのようにすれば表示できますでしょうか。
何度もで申し訳ございませんが、どうぞよろしくお願いいたします。
-
-
7. Re: グラフ軸の表示期間の制限について
Shinobu Nakazato Nov 14, 2016 6:24 PM (in response to Shinichiro Murakami)村上さま
ご返信をありがとうございます。
こちらで、うまく添付されておりますでしょうか…?
なかざと
-
表示期間13か月に関する問合せ.twbx 34.8 KB
-
-
8. Re: グラフ軸の表示期間の制限について
Shinichiro MurakamiNov 14, 2016 8:20 PM (in response to Shinobu Nakazato)
とりあえず、Date のフィルタは下記で対応できます。
[date Filter]
if [月]<=[終了月] and [月]>= min(dateadd('month',-13,[終了月]),[開始月]) then "Show" else "Hide" end
"show" のみ filter
が、これだと、Null を補足できず、折れ線がへんてこになります。
[売上 1]
zn(lookup(sum([売上]),0))
[前期売上 1]
zn(lookup(sum([売上]),-1))
として、それぞれ置き換えた上で、
で、こうなります。
(余計なお世話ですが)折れ線グラフに意味があるかどうか疑問ではありますが。。。
むらかみ
-
表示期間13か月に関する問合せ_sm_9.1.twbx 65.2 KB
-
-
9. Re: グラフ軸の表示期間の制限について
Shinobu Nakazato Nov 15, 2016 1:04 PM (in response to Shinichiro Murakami)村上さま
ご丁寧な解説をありがとうございます。
とても参考になり、助かりました。
今後ともどうぞよろしくお願いいたします。
(今回のデータサンプルでは、折れ線グラフはなんだかおかしいのですが…苦笑)
なかざと
-
10. Re: グラフ軸の表示期間の制限について
Shinichiro MurakamiNov 15, 2016 1:06 PM (in response to Shinobu Nakazato)
どういたしまして。
答えを「正解」にマークして頂けるとありがたいです。
むらかみ