on 06-02-2015 7:56 AM
Hi all,
Need help in deriving below logic, where appropriate Group values should be derived based on 2 columns
Current data set is what I have now in the report & Target data set is what I have to achieve to apply break on Group so that Units under same Asset.No stay together to perform further calculations
Serial No & Group columns are direct mapping from data base columns. Asset.No & Unit.No are derived from same column but with different WHERE clause (created at universe layer)
Asset No = Asset.No WHERE (Serial No = Asset No)
Unit no = Asset.No WHERE [(Serial No <> Asset No) AND Group IS NULL]
Current data set:
Target Data Set:
I tried using Previous, Match etc., functions but couldn't get correct results
Env: IDT 4.0, WebI
Thanks in advance
use this formula to replace null values in Group by previous value.
=If(IsNull([Group])) Then Previous(Self) Else [Group]
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
try following code
= if(isnull(group) = 1) then previous(group) else group
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.