First create Attribute view
Detail information about creating Attribute view you can refer to http://blog.sina.com.cn/s/blog_c0978c9b0102wcy2.html
Add columns
- Year
- Press ok and active
- Show data
- Price1Add column price1
- Save and active,check data
- Price2Add column Price2
- if("CARRID"='LH' ,"PRICE"*1.5,if("CARRID"='SQ',"PRICE"*0.5,"PRICE"))
Save and active,check data
The Attribute view looks like this