Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Table with date and at days to this date

Hi all,

I have the following question.

I'am building an dashboard that makes the order supply backlog clear.

Therefore I want to count the days of the priority of the order with the creationdate.

In the sheet is the date of creation 07.01.2017, priority of the order is D. D stands for 20 days.

So the outcome must be 27.01.2017.

Can anyone help me with this task?

Count dates with a number.JPG

Many thanks,

gr Patrick

7 Replies
Anil_Babu_Samineni

What calculation you used for?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Anonymous
Not applicable
Author

Calculations used.JPG

Anil_Babu_Samineni

Why E needed 3 times in your statement?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Anonymous
Not applicable
Author

This is in a test fase. So thats wrong and i know this. I have changed it to the wright values.

capture 3.JPG

Anonymous
Not applicable
Author

Bud the problem i have is to count the date with prio D that stands for 20 days.

=count({$<[Created On]+[priority,'D','20']>}) bud this is wrong i know.

Please advise in this question..

gr Patrick


qliksus
Specialist II
Specialist II

Not sure if I have understood you correctly do you want to count the order which is backlog for n number of days ? for that to happen there should be one more date apart from creation date which gives the info of how long the order is held right?

Count ({<Inventorydate= {"<=date(max(Creationdate)+Prio)"}>} order)

Anonymous
Not applicable
Author

Hi All,

I managed to get the correct formula by my self.

 

This is the dimension expression:

=IF(([Object status] = 'CLSD' OR [Object status] = 'TECO'), 'Order Ready', 
IF(Date([Created On]
+
if (isnull(Priority
), '0',
IF (Priority
= 'C', '90',
IF (Priority
= 'D', '20',
IF (Priority
= 'E', '7',
IF (Priority
= 'F', '3',
IF (Priority = 'G', '1',)))))),'DD.MM.YYYY') - Today() <0, 'Backlog', 'In Control'))

 

The background collor is programmed this way:

=IF(([Object status] = 'CLSD' OR [Object status] = 'TECO'), LightGreen(),
IF(Date([Created On]+
if (isnull(Priority), '0',
IF (Priority = 'C', '90',
IF (Priority = 'D', '20',
IF (Priority = 'E', '7',
IF (Priority = 'F', '3',
IF (Priority = 'G', '1',)))))),'DD.MM.YYYY') - Today() <0, LightRed (),LightGreen ()))

 

Now it is possible to get the wright information of the balance score cart:

It wil look like this:

Many thanks for helping me out.

gr Patrick