简体   繁体   English

什么是Excel在Power Pivot中的小计?

[英]What is the equivalent of Excel's Subtotal in Power Pivot?

Is there a way to count the total number of rows returned in a filtered table in Power Pivot? 有没有一种方法可以对Power Pivot中已过滤表中返回的行总数进行计数? I tried populating a column with 1 or 0 and used SUM. 我尝试用1或0填充一列,并使用SUM。 But it returned the number of rows in the original table and not in the filtered. 但是它返回原始表中的行数,而不是过滤后的行数。

如果要计算行数,可以使用此公式

Myformula:=Countrows(mytable)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM