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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi All,
I have a table as below. I need to write a dax like
Measure = Car(new)/(Bike(old)*Bicycle(new))
Product | Type | value |
Car | New | 25 |
Car | Old | 10 |
Bike | New | 20 |
Bike | Old | 15 |
Bicycle | New | 10 |
Bicycle | Old | 20 |
Thankyou
Solved! Go to Solution.
Hi, @Prabha45
tyr below measure
just adjust your table and column name
Measure =
var a= SUMX(FILTER('Table','Table'[product]="car"&&'Table'[Type]="new"),'Table'[value])
var b =SUMX(FILTER('Table','Table'[product]="bike"&&'Table'[Type]="old"),'Table'[value])
var c = SUMX(FILTER('Table','Table'[product]="bicycle"&&'Table'[Type]="new"),'Table'[value])
return
DIVIDE(a,b*c)
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. and don't forget to give kudos.
Hi, @Prabha45
tyr below measure
just adjust your table and column name
Measure =
var a= SUMX(FILTER('Table','Table'[product]="car"&&'Table'[Type]="new"),'Table'[value])
var b =SUMX(FILTER('Table','Table'[product]="bike"&&'Table'[Type]="old"),'Table'[value])
var c = SUMX(FILTER('Table','Table'[product]="bicycle"&&'Table'[Type]="new"),'Table'[value])
return
DIVIDE(a,b*c)
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. and don't forget to give kudos.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.