Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
cmccafferty
Contributor III
Contributor III

Number format £#,##0??

I’ve got this formula in QV to work out the overall fixed costs:

 

='Fixed Costs : ' &
((

num(max ({< [TPGP PricingTypeDescription] = {'Single'},[TPGC Costtype] = {'Per Tour'}>} [TPGP Cost PP]), '£#,##0', '.' , ',' ))
+
(
num(max ({< [TPGP PricingTypeDescription] = {'Twin'},[TPGC Costtype] = {'Per Tour'}>} [TPGP Cost PP]

), '£#,##0', '.' , ',' )))

The formula seems to work and is picking up the expected result, however, it's not coming out in my desired format.

Any advice?

1 Solution

Accepted Solutions
fdelacal
Specialist
Specialist

try

='Fixed Costs : ' &

num(

(max ({< [TPGP PricingTypeDescription] = {'Single'},[TPGC Costtype] = {'Per Tour'}>} [TPGP Cost PP]))
+
(
max ({< [TPGP PricingTypeDescription] = {'Twin'},[TPGC Costtype] = {'Per Tour'}>} [TPGP Cost PP]))

, '£#,##0', '.' , ',' )

hope that helps


View solution in original post

3 Replies
fdelacal
Specialist
Specialist

try

='Fixed Costs : ' &

num(

(max ({< [TPGP PricingTypeDescription] = {'Single'},[TPGC Costtype] = {'Per Tour'}>} [TPGP Cost PP]))
+
(
max ({< [TPGP PricingTypeDescription] = {'Twin'},[TPGC Costtype] = {'Per Tour'}>} [TPGP Cost PP]))

, '£#,##0', '.' , ',' )

hope that helps


cmccafferty
Contributor III
Contributor III
Author

Legend!!!

cmccafferty
Contributor III
Contributor III
Author

Legend!!!