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, I am migrating qlikview to Power Bi. I have following expression in qliview that needs to be converted in Power BI
((SUM(IF(Mode_group_3 = 'AirImport',[ChglWt(KG)],0)))/1000) How to write above expression in Power BI.
can you tell me .what exactly output this function will give you so it will help me to understand .
what i understood is
((SUM(IF(Mode_group_3 = 'AirImport',[ChglWt(KG)],0)))/1000)
when mode group 3 = Airimport then sum chglwt(kg) then divide it from 1000 . if its correct then
you can use below formula
measure = calculate(sum([ChglWt(KG)]),Mode_group_3 = 'AirImport")
or you can use this as well if you want to divide with 1000 then use below formula
measure = calculate(divide(sum([ChglWt(KG)]),1000,0),Mode_group_3 = 'AirImport")
this will give you sum of [ChglWt(KG)] then divide it from 1000 .
This is fgiving me following error
you Need to remove extra bracket from the formula and kindly use " " excat same field from data in " " (which you want to filter).
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!
| User | Count |
|---|---|
| 5 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |