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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register 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
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.