Power Pivot - COUNT IF

joslaz

Board Regular
Joined
May 24, 2018
Messages
76
Hey together,

I am just aiming a pretty simple problem.
I have the following table:
Code:
[TABLE="width: 313"]
<colgroup><col><col><col span="2"></colgroup><tbody>[TR]
[TD]DOC[/TD]
[TD]UNIT[/TD]
[TD]DATE[/TD]
[TD]Status[/TD]
[/TR]
[TR]
[TD="align: right"]40017280[/TD]
[TD]A[/TD]
[TD="align: right"]02.05.19 00:00[/TD]
[TD="align: right"]15[/TD]
[/TR]
[TR]
[TD="align: right"]40017281[/TD]
[TD]A[/TD]
[TD="align: right"]02.05.19 00:00[/TD]
[TD="align: right"]17[/TD]
[/TR]
[TR]
[TD="align: right"]40017282[/TD]
[TD]A[/TD]
[TD="align: right"]02.05.19 00:00[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD="align: right"]40017283[/TD]
[TD]A[/TD]
[TD="align: right"]02.05.19 00:00[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD="align: right"]40017284[/TD]
[TD]A[/TD]
[TD="align: right"]02.05.19 00:00[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD="align: right"]40017285[/TD]
[TD]A[/TD]
[TD="align: right"]02.05.19 00:00[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD="align: right"]40017286[/TD]
[TD]A[/TD]
[TD="align: right"]02.05.19 00:00[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD="align: right"]40017287[/TD]
[TD]A[/TD]
[TD="align: right"]02.05.19 00:00[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD="align: right"]40017299[/TD]
[TD]A[/TD]
[TD="align: right"]02.05.19 00:00[/TD]
[TD="align: right"]15[/TD]
[/TR]
[TR]
[TD="align: right"]40017300[/TD]
[TD]A[/TD]
[TD="align: right"]02.05.19 00:00[/TD]
[TD="align: right"]13[/TD]
[/TR]
</tbody>[/TABLE]
I have loaded this table in Power Pivot, which I load as a Pivot table.

I want to count how many DOCs (Distinct) where created in the chosen week with a status above 10.
THe chosen week is a paramter in a cell. For example Cell A2=22

How can I adapt this with a measure?

Doas anyone have andy idea?


Best Regards
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.

Forum statistics

Threads
1,214,587
Messages
6,120,405
Members
448,958
Latest member
Hat4Life

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top