Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8908

Replicating Behaviour of Excel's Max Function

$
0
0

Hi Everyone,

 

I am currently working with WebI and building a report across a variety of universes.

 

I am trying to deliver a report level solution to compare lets say 10 dimensions which are all of date type and return the max.

 

I want to be able to deliver behaviour similar to that way in Excel you would put Max(A1:A10) and it would say return the value of A7 should that contain the largest value.

 

My Dimensions are [Date 1] [Date 2] [Date 3] [Date 4] [Date 5] [Date 6] [Date 7] [Date 8] [Date 9] [Date 10]

 

I am wondering is there a way to do this without a massive waterfall of if then else to compare all combinations?

 

Can I create a custom function to insert into the universe that will allow me to then at report level say CustomMax([Date 1];[Date 2];[Date 3];[Date 4]... e.t.c)

 

Any help you can offer would be greatly accepted.

 

Regards,

 

Nick


Viewing all articles
Browse latest Browse all 8908

Trending Articles



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