Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2161

Re: logic in calculated columns

$
0
0

Few suggestions here:

 

1.  Projection_1 giving date to both Rank nodes .  Use 2 separate projection , model would be easier to read and less complex.  You can easily copy project 1 and name it something else.

 

2. Calculate total number of failure at desired level  before joining them  at Join_2 node.

 

If you are using dummy key figure ( =1 ) , you cannot make -1 for every row. Essentially that would make 1-1 = 0 and sum will be zero.   You have to sum it first for all failures and then subtract 1 from the total .

 

You can also take data from Rank_1 node with a filter of Rank Not Equal to 1  or Greater than 1 .  This way, you will always omit the first failure .  So, you can derive total number of repeat failure.

 

Also explore "Counter"  in Calculation View .

 

Regards

Anindya


Viewing all articles
Browse latest Browse all 2161

Trending Articles



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