Visio Guy

Visio Discussions => ShapeSheet & Smart Shapes => Topic started by: mjareo on June 07, 2016, 03:13:08 PM

Title: Timestamp based on a container
Post by: mjareo on June 07, 2016, 03:13:08 PM
We are using Visio as the medium for a Kanban board which is actually tracking our backlog and the work in progress.  The simple structure is we have 3 containers (Not Started, In Progress, and Completed) which each have some user defined categories for the type of work that should be in them and also a shape data line of Prop.Status with the status name.  We then move the cards through the process as we plan the work, pull it into process, and then complete that particular task.

In order to create some additional reporting around this, I'm trying to timestamp when the cards (process shapes) move into the container.  I am able to easily create a shape data line which reads the Prop.Status value of the container it is in using CONTAINERSHEETREF(1)!Prop.Status, but trying to write an IF statement in another Shape Data line which references this result doesn't appear to work - the result always returns as true and never fails to the "if false" part of the function.

I hope this is enough data to explain how I'm trying to accomplish what I'm doing, but at the end of the day, what I really need is to figure out a way to create a timestamp when a shape moves into a container.
Title: Re: Timestamp based on a container
Post by: Yacine on June 07, 2016, 04:41:31 PM
Probably a matter of string1 = string 2 instead of strsame(string1, string2)
Have a look a "strsame".
Regards,
Y.

Title: Re: Timestamp based on a container
Post by: mjareo on June 07, 2016, 06:33:04 PM
I found that just before you replied!  That's what I get for my first foray into expressions in Visio and expecting them to be the same as Excel :)

thank you!
Title: Re: Timestamp based on a container
Post by: Yacine on June 08, 2016, 06:50:15 PM
Luckily this is the worst one.
Browser ID: smf (is_webkit)
Templates: 1: Printpage (default).
Sub templates: 4: init, print_above, main, print_below.
Language files: 1: index+Modifications.english (default).
Style sheets: 0: .
Hooks called: 54 (show)
Files included: 25 - 925KB. (show)
Memory used: 747KB.
Tokens: post-login.
Cache hits: 8: 0.00111s for 22,302 bytes (show)
Cache misses: 2: (show)
Queries used: 11.

[Show Queries]