Quantcast
Channel: OSIsoft Users Community
Viewing all articles
Browse latest Browse all 1120

Save holidays in PI Server and get percent of days worked in month

$
0
0

Hey folks,

Another doubt.

I need to make a KPI sheet based on working days of the month. (DataLink)

 

I have a defined plan of the year which describes the days where i´m not work, and i have to use only work days in my KPI.

The first idea is use a sheet in excel to store how many days of month have to be descarted. And apply this factor to my KPI using VBA.

 

But i´m trying figure out a way to store this plan of holidays day by day (With a Boolean Tag) in PI server and thus get the number of worked days of current day with Calculaded Tag. [Something like Current-Month-Worked-Days/Current-Month-Days]

It seems a good idea? Anyone have a suggestion?

Thanks!


Viewing all articles
Browse latest Browse all 1120

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>