Quantcast
Channel: SCN : Unanswered Discussions - Semantic Layer
Viewing all articles
Browse latest Browse all 1291

Is there a way to automatically build measure object with SUM(col_name) from INT DB column?

$
0
0

Hello,

 

I have a workflow that needs to be repeated every month and I'd like to optimize it.

 

1. DB table in SQL Server 2008 looks something like this:

 

TABLE [CONTRACTS_GCO_LVL2](

  [CONTRACTS_BP_ID] [varchar](50),

  [Flag 1] [int] ,

  [Flag 2] [int] ,

  [Flag 3] [int] ,

...

 

2. I bring this table into my BOE IDT 4.0.3 and drag it into object folder. All INT columns become dimensions. This is not what I want. These are 1/0 flags for me and I need them to be measures with SUM aggregation.

 

3. I select all these INT sourced dimensios and right click on them with "Turn into measure with aggregation function - SUM"

 

The problem is that step #3 is unbelievably slow. I need to spend hours doing this as I have thousands of these flags. I end up selecting all dimensions from one screen and converting them at the same time. This takes 4-5 minutes. IDT runs on a Win 2008 R2 Enterprise server with 32 GB RAM and 4 CPUs.

 

In Universe Designer there used to be external strategies that allowed some customization of how the objects get automatically created from DB tables. I know there are no strategies in r4 (External strategy for tables)  but is there anything else to make this process faster?

 

Thank you all!

 

Natasa


Viewing all articles
Browse latest Browse all 1291

Trending Articles



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