Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
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!!!