跳到主要內容

如何隱藏數據透視表中的零值行?

隱藏數據透視表中包含零值的行可能是用戶經常遇到的常見需求,在隱藏零值行之後,數據透視表看起來會很整潔,並且數據也將被抑制。 但是,如何隱藏數據透視表中包含零值的行呢? 請閱讀以下教程。

通過創建過濾器字段隱藏零值行
通過使用數據透視表中的過濾器功能隱藏零值行


通過創建過濾器字段隱藏零值行

要隱藏零值行以使其不顯示在數據透視表中,請查看以下步驟:

1。 創建數據透視表後,在“數據透視表字段列表”框中,拖動要隱藏其零值的所需字段。 選擇要添加到報告中的字段 盒子到 報告過濾器 框,並且已拖動的字段已顯示在數據透視表的頂部,請參見屏幕截圖:

文檔隱藏零數據透視表 1

2。 然後單擊要隱藏其零值的字段的下拉箭頭,並檢查 選擇多個項目 框,然後取消選中 0,請參見屏幕截圖:

文檔隱藏零數據透視表 1

3。 點擊 OK,並且該字段的所有零值行都已隱藏,如果您需要在其他字段中隱藏零值,只需重複步驟2。 零值行將從您選擇的字段中隱藏。

文檔隱藏零數據透視表 1


通過使用數據透視表中的過濾器功能隱藏零值行

除上述方法外,您還可以在數據透視表中使用“過濾器”功能隱藏零值行。 這樣做:

1。 在數據透視表中,選擇內容的任何行,然後右鍵單擊,然後選擇 篩選 > 值過濾器,請參見屏幕截圖:

文檔隱藏零數據透視表 1

2。 在 值過濾器 對話框中,從第一個下拉列表中選擇要隱藏其零值的數據字段,然後選擇 不相等 從第二個下拉列表中,最後輸入 0 進入文本框,請參見屏幕截圖:

文檔隱藏零數據透視表 1

3。 然後點擊 OK 關閉此對話框,並且零值行已隱藏在您選擇的數據字段中。

文檔隱藏零數據透視表 1

備註:使用此方法時,您只能隱藏一個列字段,如果選擇其他要隱藏的字段,則將顯示原始的隱藏行,它們之間的關係為“ OR”。


相關文章:

最佳辦公生產力工具

🤖 Kutools 人工智慧助手:基於以下內容徹底改變數據分析: 智慧執行   |  生成代碼  |  建立自訂公式  |  分析數據並產生圖表  |  呼叫 Kutools 函數...
熱門特色: 尋找、突出顯示或識別重複項   |  刪除空白行   |  合併列或儲存格而不遺失數據   |   沒有公式的回合 ...
超級查詢: 多條件VLookup    多值VLookup  |   跨多個工作表的 VLookup   |   模糊查詢 ....
高級下拉列表: 快速建立下拉列表   |  依賴下拉列表   |  多選下拉列表 ....
欄目經理: 新增特定數量的列  |  移動列  |  切換隱藏列的可見性狀態  |  比較範圍和列 ...
特色功能: 網格焦點   |  設計圖   |   大方程式酒吧    工作簿和工作表管理器   |  資源庫 (自動文字)   |  日期選擇器   |  合併工作表   |  加密/解密單元格    按清單發送電子郵件   |  超級濾鏡   |   特殊過濾器 (過濾粗體/斜體/刪除線...)...
前 15 個工具集12 文本 工具 (添加文本, 刪除字符,...)   |   50+ 圖表 類型 (甘特圖,...)   |   40+ 實用 公式 (根據生日計算年齡,...)   |   19 插入 工具 (插入二維碼, 從路徑插入圖片,...)   |   12 轉化 工具 (數字到單詞, 貨幣兌換,...)   |   7 合併與拆分 工具 (高級合併行, 分裂細胞,...)   |   ... 和更多

使用 Kutools for Excel 增強您的 Excel 技能,體驗前所未有的效率。 Kutools for Excel 提供了 300 多種進階功能來提高生產力並節省時間。  點擊此處獲取您最需要的功能...

產品描述


Office選項卡為Office帶來了選項卡式界面,使您的工作更加輕鬆

  • 在Word,Excel,PowerPoint中啟用選項卡式編輯和閱讀,發布者,Access,Visio和Project。
  • 在同一窗口的新選項卡中而不是在新窗口中打開並創建多個文檔。
  • 將您的工作效率提高 50%,每天為您減少數百次鼠標點擊!
Comments (9)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Is there a way to filter out all these cost only and if only all values are 0 (instead of if grand total = 0).
Thanks in advance!
This comment was minimized by the moderator on the site
Filter für 0-Werte in Pivot Tabelle

Passt!

Danke
This comment was minimized by the moderator on the site
OMG... that helped a lot. Tks!!!
This comment was minimized by the moderator on the site
Great - worked a treat!
This comment was minimized by the moderator on the site
Thank you for your answer, exactly what I was looking for.
This comment was minimized by the moderator on the site
This solution was perfect what I was looking for. Thanks a lot.
This comment was minimized by the moderator on the site
Thank you!
This comment was minimized by the moderator on the site
Thank you so much! Worked perfectly for my situation.
This comment was minimized by the moderator on the site
Hie, i created a worksheet and it is extracting some values from a pivot table i created within the same worksheet, i also added some space to allow future entries and i have included them in my calculations and they are returning (0) value. My problem is how do i hide these rows so that they wont be visible but will allow future entry of values
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations