答案1. Create a parameter2. Create measure for sales value for different categories like belowFurniture Sales:IF [Category]="Furniture" then [Sales] endOffice Supplies SalesIF [Category]="Office Supplies" then [Sales] endTechnology SalesIF [Category]="Technology" then [Sales] endValue:CASE [Parameter 2] when "Furniture" then [Furniture sales] when "Office Supplies" then [Office Supplies] when "Technology" then [Technology Sales] end3. Now for horizontal radio button options for category, place category on columns, uncheck headerShape radio buttonSTR([Parameter 2]=[Category])+[Category]Category on Text, Shape radio button on shape and view as entire view4. This will give true [Parameter 2]=[Category] on the selection so Shape radio button will give t+CategoryName as resultCreate a custom pallet for radio button selected shape and unselected Click on Shape -> assign radio button selected to the ones that start with t and category name and unselected to f and category name.5. Click show parameter toggle between values and repeat the allocation process like above for the shapesAdd the sheets to dashboard 6. Click on Dashboard -> actions _> change parameter values
這篇文章是否解決了問題? 感謝您針對本文的效益提供意見回饋。 按一下這裡可返回「支援」頁面。 開啟新案例 開啟新案例 繼續搜尋 按一下這裡可前往「支援」頁面。 知識庫 取得問題及技術疑問的詳細解答及逐步操作說明。 社群 使用者可以透過我們活躍的社群,在論壇、使用者群組及各種構想中尋找和分享解決方案。 產品說明 瀏覽產品手冊與指南的完整清單。提供線上、離線及 PDF 格式版本。 訓練及教學課程 透過隨選、即時或課堂訓練,掌握如何使用 Tableau 產品。