
Createing a Report for only approved Data
-
- Posts: 3
- Joined: Thu Oct 31, 2019 8:51 am
- OLAP Product: Microsoft SQL Server
- Version: Planning Analytics
- Excel Version: MS 2013
Createing a Report for only approved Data
Hi I am new in tm1. I have "cube A" that has data and I have a TM1 application that is connected with "cube A", I would like to create Cube B that will get only approved data(approve in the application) from "Cube A". I would like to put data that has been approved in the tm1 application to Cube B and I would use Cube B as my data source for my reports. Please help 

-
- 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: Createing a Report for only approved Data
New to TM1? Nothing like jumping right into the deep end. Accomplishing what you want will require an understanding of TM1 applications work, how your approval hierarchy is setup and a complete understanding of rules and feeders.QFmbongwa wrote: ↑Thu Oct 31, 2019 10:48 am Hi I am new in tm1. I have "cube A" that has data and I have a TM1 application that is connected with "cube A", I would like to create Cube B that will get only approved data(approve in the application) from "Cube A". I would like to put data that has been approved in the tm1 application to Cube B and I would use Cube B as my data source for my reports. Please help![]()
When you create an application in TM1 you have to designate an approval hierarchy. This will result in a cube being created called }tp_application_state}{xxxxxxxxxx}, where xxxxxxx is a random string created by TM1. In this cube you will find a measure called “State” in which will contain a numeric value. A value of 4 in this element means it has been approved. So now, the trick is going to be writing a rule that populates cube B with data from cube A whenever the node has been approved:
Code: Select all
['Measure'] = N:IF(DB('tp_application_state}{xxxxxxxxxx}',!ApprovalDim) = 4,
DB('Cube A', !Dim1, !Dim2, !Dim3……!DimX),
0);