Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Web Intelligence
Viewing all articles
Browse latest Browse all 5402

[BI 4.2] Web Intelligence Hierarchy on HANA

$
0
0

Hi.

 

As you know, we can use direct connection between Webi and HANA in BI 4.2.

Also use hierarchy function in Webi.

 

 

I'm testing to obtain the value of last year on the hierarchy as below.

 

TIME_HIERARCHY

amount

this year

amount

last year

- 2012780
    20120110
    20120220
    20120330
       ~
    201212120
- 20132220780
    20130113010
    20130214020
    20130315030
        ~~~
    201312240120
- 201433602220
    201401250130
    201402260140
    201403270150
        ~~~
    201404360240
+ 201551003360
+ 201665405100

 

I've tested the functions "Lag", "RelativeValue".

 

RelativeValue function : Failed

The value is disappeared when relative value is in closed tree

For example, when 2013 tree close, 2014' month value are disappeared.

 

Lag Function : Failed

The function does not allow sign "-".

 

for example

=Max([amount];{[TIME_HIERARCHY].lag(-1)})

 

SAP help guide said,

=====================================================================================

 

Syntax

 

member member.Lag(distance)

 

Function Group

 

Set

 

Input

 

 

ParameterDescriptionTypeRequired
memberAny membermemberYes
distanceThe distance of the member from the current memberintYes

 

 

Notes

 

  • Lag is not used as a standalone function. It is used in the input parameter in aggregate functions that specifies the member set for aggregation.
  • If distance is positive, Lag returns the member distance places after member. If distance is negative, Lag returns the member distance places before member.
  • member is the current member of a hierarchy. When the hierarchy is not in the context of the block, the formula returns an empty value.
  • Lag uses the member order in the hierarchy and query to return the related member.

=====================================================================================

 

 

Who has an idea to obtain last year/month value in the Webi hierarchy table like the grid?

(Years are changable depending on input parameter of HANA.)


Viewing all articles
Browse latest Browse all 5402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>