Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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!!!