BI Export - working days and elapsed duration

D
Dariusz C 👤 Member for 7 years 6 months

Hi



In my model I extract tasks data according to line below from model file:

<Column name="DurationDays" datatype="Duration" group="Date" formula="Duration / '1d'"/>

 

The problem is that some tasks have duration in working days and some of them in elapsed days, please look at attached screenshot for more details.

Working days are not a problem at all. Problem is with elapsed duration

working_vs_elapsed.png

What should I do to get durations in format I have in Powerproject into the same table?

 

Thank you in advance for any hint!

D
Dariusz C 👤 Member for 7 years 6 months

Hi Ben

 

Thanks for that. This is exactly what I did:

 

<Column name="DurationDays" datatype="Duration" group="Date" formula="If(IsElapsedTime(duration) = TRUE, Duration / '1ed', Duration / '1d')"/>

B
Ben Taunt 👤 Member for 14 years 5 months

 

Hi Dariusz,

 

There are several potential solutions to this.  The simplest is to add a column that tells you if a task is a Working or Elapsed:

 

<Column name="ElapsedStatus" datatype="Boolean" group="Date" formula="IsElapsedTime(duration)" />  

 

Cheers,

 

Ben @ Powerproject 

D
Dariusz C 👤 Member for 7 years 6 months

Hi Mike

Thanks for reply and warm welcome ;)

It's not about Asta Powerproject itself but BI Controller.

These elapsed durations you could see in screenshot are OK, my entire plan contains days and elapsed days.

The problem is coming when I want to export Powerproject data to external datasource.

 

For example I've got 2 tasks:

Task 1   , 2d duration

Task 2, 2ed duration

Model files has formula for duration and it "force" to write durations in days:

formula="Duration / '1d'"

But for Task 2 it will return incorrect value becasue of elapsed units...

 

With formula:

formula="Duration / '1ed'"

it will return correct values for durations expressed in elapsed days (Task 2), but not for working days (Task 1).

Still with me? :)

I can't find any way to export correct durations via BI Controller regardless of duration units used for tasks.

 

 

M
Mike Testro 👤 Member for 20 years 6 months

Hi Dariusz - welcome to planning planet.

Right click the duration table - select Format Cells - Left click Duration - select your format "Day".

Best regards

Mike T.

Forum Sponsor

Top Posters

Aidar Kurmantayev
0 posts
Noe Radovan
8 posts
GeoVe
0 posts
James Williams
74 posts
Johannes Vandenberg
14 posts
Soheil Barekat
4 posts
Peter Holroyd
51 posts
Neil Atkinson
5 posts
Trian Asmoro
1 posts
Erkan Polater
9 posts