Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hi,
I have a DIM_TABLE with groups and subgroups of keys
DIM_TABLE:
and a FACT_TABLE with transactions values
FACT_TABLE:
I want to perform calculation in fact table based in KEY_GROUP
CALCULATION_A = KEY_GROUP 1 + KEY_GROUP 3
CALCULATION_A = 10+5+2 = 17
there's some easy way to do this?
Solved! Go to Solution.
You may refer to measure below.
Measure = SUMX ( FILTER ( FACT_TABLE, LOOKUPVALUE ( DIM_TABLE[KEY_GROUP], DIM_TABLE[KEY_SUBGROUP], FACT_TABLE[KEY_SUBGROUP] ) IN { 1, 3 } ), FACT_TABLE[VALUE] )
You may refer to measure below.
Measure = SUMX ( FILTER ( FACT_TABLE, LOOKUPVALUE ( DIM_TABLE[KEY_GROUP], DIM_TABLE[KEY_SUBGROUP], FACT_TABLE[KEY_SUBGROUP] ) IN { 1, 3 } ), FACT_TABLE[VALUE] )
Thank you!