Oct 01 2019 09:13 PM
here attached excel workbook which i need to get number of machines work on a day as a pivot table.
table 1 is data table . table 2 is pivot table which i got with extract date field and table 3 is the format what i need.
output 0 means that machine not work on that relevant date. anyone can help me to get that as per the table 3 format except machine names and output "0" details.
Oct 02 2019 02:31 AM
It looks like duplication of https://techcommunity.microsoft.com/t5/Excel/Excel-formula-to-get-number-of-working-days/m-p/887899#...
Anyway, the measure is the same
Number of machines work:=CALCULATE(COUNTROWS(Range),Range[Output MC]>0)
Oct 02 2019 02:54 AM
appreciate your support. i don't have power pivot option to do this with my 2013 limited version. is there any other way to do this?
Oct 02 2019 03:20 AM
You don't need Power Pivot, it is enough that you have data model which shall be with 2013. You may add measure without Power Pivot.
Anyway, with formula if you add Date column manually
the formula in next column is
=COUNTIFS($A$4:$A$57,$Q6,$C4:$C57,">0")