Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi Experts
I want to calculate the distinc values over the following columns (in blue) then sum unit column. How could i amend the following dax measure to achieve this.
Current measure
Solved! Go to Solution.
Hi @Invesco
You can refer to the following ways.
You can create a mesaure
Measure=
var a=
SUMMARIZE('Table','Table'[descreption],'Table'[dataset_code],'Table'[element_hierachy_id],'Table'[rxa_brick_desc],'Table'[level_3_element_desc],'Table'[month_id],'Table'[level_3_market_desc]),'Table'[MarketUnits])
return sumx(a,[MarketUnits)
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Invesco
You can refer to the following ways.
You can create a mesaure
Measure=
var a=
SUMMARIZE('Table','Table'[descreption],'Table'[dataset_code],'Table'[element_hierachy_id],'Table'[rxa_brick_desc],'Table'[level_3_element_desc],'Table'[month_id],'Table'[level_3_market_desc]),'Table'[MarketUnits])
return sumx(a,[MarketUnits)
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!