Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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!
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.