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
I need the desired output as if any of the column in L or B or H is greater than 700 then add 10% oc CBM to the existing CBM.
| Length | Breath | height | CBM=(L*B*H)/1000000000 | New CBM | |
| Item 1 | 900 | 878 | 567 | 0.4480434 | 0.49284774 |
| Item 2 | 720 | 390 | 543 | 0.1524744 | 0.16772184 |
| Item 3 | 897 | 789 | 876 | 0.619974108 | 0.681971519 |
| Item 4 | 143 | 234 | 321 | 0.010741302 | 0.010741302 |
| If any of L or B or H is greater Than 700 then add 10% in the existing CBM calculation |
Solved! Go to Solution.
Hi @learner03
You can create a column with below code:-
New CBM =
VAR Ten_percent_CBM = ( 'CBM data'[CBM] * 10 ) / 100
RETURN
IF (
'CBM data'[Length] > 700
|| 'CBM data'[Breath] > 700
|| 'CBM data'[height] > 700,
'CBM data'[CBM] + Ten_percent_CBM,
'CBM data'[CBM]
)
Thanks,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Hi @learner03
You can create a column with below code:-
New CBM =
VAR Ten_percent_CBM = ( 'CBM data'[CBM] * 10 ) / 100
RETURN
IF (
'CBM data'[Length] > 700
|| 'CBM data'[Breath] > 700
|| 'CBM data'[height] > 700,
'CBM data'[CBM] + Ten_percent_CBM,
'CBM data'[CBM]
)
Thanks,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
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!