Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
sakshikaul
Helper III
Helper III

how to convert qlikview expression in power BI

qlikview Expression 

=IF($(selectYear)=$(selectYear) ,

sum({<Eco_year={$(selectyear2)}>}([ChglWt(KG)]/1000)+Tues+(CBM/25)))

 

Please help me in converting above qlik expression in power BI 

6 REPLIES 6
camargos88
Community Champion
Community Champion

@sakshikaul ,

 

It would be easier if you give an example of what you need to do.



Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



I want to sum ChglWt(KG)/1000  on the basis of (Filter) where Mode group 3 = AIRIMPORT . How to write a measure for this on front end ?

Qlikview Expression -((SUM(IF(Mode_group_3 = 'AirImport',[ChglWt(KG)],0)))/1000)

Anonymous
Not applicable

@sakshikaul you need to create 2 measure 

measure 2 = 
CALCULATE (
    DIVIDE ( SUM (ChglWt(KG)1000 ),
    Mode group 3 = "AIRIMPORT"
)

 

Try this ,It will work for you .

 

Give me kudos 

Thank you 

Hi, 

I shhould get values as follows 

Qlik EXP.png

whereas I am getting values as 

PBI EXP.png

Please help

Anonymous
Not applicable

@sakshikaul  then write this then 

 

  1. Measure 1 = Calculate(sum(SUM (ChglWt(KG)), Mode group 3 = "AIRIMPORT")

above measure will give sum of ChglWt(KG)) .where mode group 3 value is aimimport .

 

 

or 

you can sent me snapshot of your data for better understanding as your requirement is not clear .

data model.png

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.