Question: Active Form vs Application

Post Reply
knoppentop
Posts: 3
Joined: Fri Apr 17, 2015 9:13 am
OLAP Product: TM1
Version: 10.2.2
Excel Version: 2013

Question: Active Form vs Application

Post by knoppentop »

Hello all,

I have an active form (Perspectives) where everything works fine; I have a cell referring to the last element of a dimension, and picking a measure in it:
=DBRW($B$9;$C$17;$C$19;$C$20;$C$21;DIMNM("PriceTool:Modifiers";DIMSIZ("Pricetool:Modifiers"));J$32)

However, when I upload this active form to the web Application, this cell is empty.

Also, I make use of a picklist cube (control cube). Everyime I change a value in the active form, the rest of the form is updated automatically. But on the web application, I have to manually rebuild the sheet, to have the values refreshed.

My questions are:

1. Why is this value empty on the application? I tried excel formulas but they become circular and they suggested me to use TM1 functions.
2. Is there any way to automatically refresh the Web application when selecting another item in the picklist?

Thanks in advance for your help.
User avatar
jim wood
Site Admin
Posts: 3961
Joined: Wed May 14, 2008 1:51 pm
OLAP Product: TM1
Version: PA 2.0.7
Excel Version: Office 365
Location: 37 East 18th Street New York
Contact:

Re: Question: Active Form vs Application

Post by jim wood »

Is this something you added? Did you rebuild it before publishing it?
Struggling through the quagmire of life to reach the other side of who knows where.
Go Build a PC
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
knoppentop
Posts: 3
Joined: Fri Apr 17, 2015 9:13 am
OLAP Product: TM1
Version: 10.2.2
Excel Version: 2013

Re: Question: Active Form vs Application

Post by knoppentop »

Hello Jim

thanks for the feedback. Yes, I added it in another cell. I've rebuild the sheet and uploaded it on the application.
Please see the difference in the attached images.

It is the 'modifier' value that is empty and where I entered the formula.
Attachments
application
application
application.png (8.54 KiB) Viewed 3780 times
activeform_perspectives
activeform_perspectives
activeform_perspectives.png (7.44 KiB) Viewed 3780 times
User avatar
jim wood
Site Admin
Posts: 3961
Joined: Wed May 14, 2008 1:51 pm
OLAP Product: TM1
Version: PA 2.0.7
Excel Version: Office 365
Location: 37 East 18th Street New York
Contact:

Re: Question: Active Form vs Application

Post by jim wood »

As you're referencing a value within the formula I wonder if it's a calculation order issue? Try hard coding the value within the formula add see if it makes difference. Also try moving the DImNm formula outside in to it's own cell. I tend to find with these things it can be a process of elimination.

Are you using the picklist within the view for values or dimension lookups? I didn't quite get what you're trying to do there,

Jim.
Struggling through the quagmire of life to reach the other side of who knows where.
Go Build a PC
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
knoppentop
Posts: 3
Joined: Fri Apr 17, 2015 9:13 am
OLAP Product: TM1
Version: 10.2.2
Excel Version: 2013

Re: Question: Active Form vs Application

Post by knoppentop »

Hello Jim

after a few days I managed to fix the issue. The problem was that I was combining too much Excel functions and calculations. I created a calculation cube where I stored all my values (that I needed, but invisible for the end user). All other calculations are now implemented in rules and it works.

Thanks again for your help!

Kind regards
tomok
MVP
Posts: 2836
Joined: Tue Feb 16, 2010 2:39 pm
OLAP Product: TM1, Palo
Version: Beginning of time thru 10.2
Excel Version: 2003-2007-2010-2013
Location: Atlanta, GA
Contact:

Re: Question: Active Form vs Application

Post by tomok »

knoppentop wrote:I have an active form (Perspectives) where everything works fine; I have a cell referring to the last element of a dimension, and picking a measure in it:
=DBRW($B$9;$C$17;$C$19;$C$20;$C$21;DIMNM("PriceTool:Modifiers";DIMSIZ("Pricetool:Modifiers"));J$32)
If this cell is then used in another DBRW formula then you're a victim of calculation order. DBRW calculates cells in batches and you have no control over the order. If you combine two DBRW formulas then it will likely not calculate in the order you want and the result will be an empty value.

DBR, on the other hand, calculates one cell at a time. Had you changed this:

Code: Select all

=DBRW($B$9;$C$17;$C$19;$C$20;$C$21;DIMNM("PriceTool:Modifiers";DIMSIZ("Pricetool:Modifiers"));J$32)
to this:

Code: Select all

=DBR($B$9;$C$17;$C$19;$C$20;$C$21;DIMNM("PriceTool:Modifiers";DIMSIZ("Pricetool:Modifiers"));J$32)
it probably would have worked.
Tom O'Kelley - Manager Finance Systems
American Tower
http://www.onlinecourtreservations.com/
Post Reply