Images loading below. While you wait, can you answer this Excel related tip? Guess the answer then click SEE ANSWER to see how it can be done.

1. How do you take all the formatting from chart (see 1 below) and PASTE it onto another chart (2)? Guess and then see how it can be done with 'See Answer'

2. How do you copy from Excel (see 1 below) and paste into Word (2) WITHOUT seeing the filter button, gridlines, comment notes and more?

Guess and then view answer to see how it can be done!


PowerPivot COUNTROWS error message

PowerPivot COUNTROWS error message

The COUNTROWS DAX formula in Excel’s PowerPivot add in allows you to count the number of rows that meet your condition/s, typically included in a CALCULATE function. However, you often get a COUNTROWS error message when trying to use it.

Related: Learn how to use PowerPivot

The main reason for this is that you have incorrectly referred to a Table AND Column instead of the required syntax which is only the Table name.

So if the table name is ‘Leave register’ and the column you are thinking about is the number of leave slips handed in shown in the column ‘Leave Slip Number’, you would only need to refer to the table name i.e.

COUNTROWS(Leave register)

and not

COUNTROWS(Leave Register[Leave Slip Number])

PowerPivot’s logic is that in any table the number of rows are the same in all columns so you only need to provide the table name.