View in cube does not exist error

Post Reply
vasek1192
Posts: 47
Joined: Sun Jan 24, 2021 5:55 pm
OLAP Product: IBM Planning analytics
Version: 2.0.9.3
Excel Version: 2019

View in cube does not exist error

Post by vasek1192 »

Hi, I am attempting to run simple TI process with ViewTitleElementSet. I created the view Default as seen in the pic, but when i try to run it I get an error msg: Error: Prolog procedure line (26): View "Default" in cube "<2>" not found. When I swith to Default1 it works fine. Any ide what might be causing this? Thanks
Dault Does not exist.png
Dault Does not exist.png (55.98 KiB) Viewed 6087 times
Wim Gielis
MVP
Posts: 3120
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.0.9.18
Excel Version: Microsoft 365
Location: Brussels, Belgium
Contact:

Re: View in cube does not exist error

Post by Wim Gielis »

You can open up the view manually without issue ?
What is the result of the ViewExists function on that cube and view ? 1 ?
Best regards,

Wim Gielis

IBM Champion 2024
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
vasek1192
Posts: 47
Joined: Sun Jan 24, 2021 5:55 pm
OLAP Product: IBM Planning analytics
Version: 2.0.9.3
Excel Version: 2019

Re: View in cube does not exist error

Post by vasek1192 »

Hi, Yes I can open it, ViewExists returns 1
Wim Gielis
MVP
Posts: 3120
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.0.9.18
Excel Version: Microsoft 365
Location: Brussels, Belgium
Contact:

Re: View in cube does not exist error

Post by Wim Gielis »

Could security be involved and does it work when you run with an admin user ?
What is the layout of the view ?
Does the code work in the Prolog tab of a new process ? Why is the code sitting in the Data tab anyway: what is the data source and what happens in the Prolog tab ?
Best regards,

Wim Gielis

IBM Champion 2024
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
vasek1192
Posts: 47
Joined: Sun Jan 24, 2021 5:55 pm
OLAP Product: IBM Planning analytics
Version: 2.0.9.3
Excel Version: 2019

Re: View in cube does not exist error

Post by vasek1192 »

Thore is a cell security (see emg), I am an admin and cant run it. The layout is 7 dimensions:

G_Dcerinne_Spolecnosti on Rows,
T_CasM - Columns
G_Druhy_Vozu
G_Temata
G_Zavod
V_Verze
M_Dcerine_SPolecnosti_Zasoby_IST

There are 3 dynamic subsets: G_Dcerinne_Spolecnosti, T_CasM, V_Verze
sec.png
sec.png (91.59 KiB) Viewed 6073 times
Wim Gielis
MVP
Posts: 3120
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.0.9.18
Excel Version: Microsoft 365
Location: Brussels, Belgium
Contact:

Re: View in cube does not exist error

Post by Wim Gielis »

Does it persist after a server reboot ?
Best regards,

Wim Gielis

IBM Champion 2024
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
User avatar
gtonkin
MVP
Posts: 1201
Joined: Thu May 06, 2010 3:03 pm
OLAP Product: TM1
Version: Latest and greatest
Excel Version: Office 365 64-bit
Location: JHB, South Africa
Contact:

Re: View in cube does not exist error

Post by gtonkin »

Random thought but have you tested if you have two dimensions on the rows in your default view then try move V_Verze to the Titles?
PAW explorations do not show data if you do not have dimensions on either rows or columns - may be similar.
vasek1192
Posts: 47
Joined: Sun Jan 24, 2021 5:55 pm
OLAP Product: IBM Planning analytics
Version: 2.0.9.3
Excel Version: 2019

Re: View in cube does not exist error

Post by vasek1192 »

Problem solved. It is somewhat of a bug in PAW. Turns out if you manually create view in PAW (open the cube, manually change the dimension structure and save to the server) then the view is invisible for some functions and it is not even visible in architect. If you create the view with process or in architect it works fine.
David Usherwood
Site Admin
Posts: 1454
Joined: Wed May 28, 2008 9:09 am

Re: View in cube does not exist error

Post by David Usherwood »

I recall that views created in PAW are MDX views (extension .xbv) and these are not visible in Perspectives/Architect.
Post Reply