Skip to content

Commit

Permalink
add calculated measre in onet cubes
Browse files Browse the repository at this point in the history
  • Loading branch information
hermosillajelmy committed Jul 25, 2024
1 parent 26bfffb commit 493131f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion schema/onet_by_cip.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,16 @@
<Annotation name="hide_in_ui">true</Annotation>
</Measure>

<Measure aggregator="avg" key_column="total_score" name="Total Score">
<Measure aggregator="avg" key_column="total_score" name="Total Score 2">
<Annotation name="aggregation_method">NONE</Annotation>
<Annotation name="units_of_measurement">NONE</Annotation>
<Annotation name="details">Calculated by IM Value * LV Value</Annotation>
</Measure>

<CalculatedMeasure name="Total Score" formula="[IM Value] / [LV Value]">
<Annotation name="aggregation_method">NONE</Annotation>
<Annotation name="units_of_measurement">NONE</Annotation>
<Annotation name="details">Calculated by IM Value * LV Value</Annotation>
</CalculatedMeasure>
</Cube>
</Schema>
8 changes: 7 additions & 1 deletion schema/onet_by_pums.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,13 @@
<Annotation name="hide_in_ui">true</Annotation>
</Measure>

<Measure aggregator="avg" key_column="total_score" name="Total Score">
<CalculatedMeasure name="Total Score" formula="[IM Value] / [LV Value]">
<Annotation name="aggregation_method">NONE</Annotation>
<Annotation name="units_of_measurement">NONE</Annotation>
<Annotation name="details">Calculated by IM Value * LV Value</Annotation>
</CalculatedMeasure>

<Measure aggregator="avg" key_column="total_score" name="Total Score 2">
<Annotation name="aggregation_method">NONE</Annotation>
<Annotation name="units_of_measurement">NONE</Annotation>
<Annotation name="details">Calculated by IM Value * LV Value</Annotation>
Expand Down

0 comments on commit 493131f

Please sign in to comment.