上次修改日期: 20 Jul 2023
环境
- Tableau Desktop
答案
The following resolution applies to the attached example workbook NoMarkTypeTotals.twbx. Please note that such steps will need to be adjusted for certain views that place measure on rows shelf or contain more than a single dimension. For example, the table calculation would need to be computed differently depending on the table layout.For each measure appearing in the view as a grand total:
- Create a new calculated field similar to the following examples:
IF SIZE()= 1 THEN 0 ELSE SUM([Sales]) END
OrIF SIZE()= 1 THEN 0 ELSE SUM([Quantity]) END
OrIF SIZE()= 1 THEN 0 ELSE SUM([Profit]) END
- Drag these new calculated field to the Columns shelf to replace the existing measures.
- Right click them and select Compute Using > Table (down).
- For each new measure's Marks card, add the original measure to Label.
感谢您提供该文章是否有效的反馈。
打开新案例
继续搜索
知识库
社区
产品帮助
培训和教程
相关链接
Your query has an error: Request Error.
Trending Articles
Your query has an error: Request Error.