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: 
dhavalvyas
Contributor III
Contributor III

How to convert number format according to required format in qlikview expression

Hi,

Suppose I have count of policies is in crore if I want it in lakhs, thousands also in decimals so how to write expression for that ?

4 Replies
Anonymous
Not applicable

try this ..

num(sum(sales),'#,##,##,##0.00')

Anil_Babu_Samineni

May be this?

Simply divide with digit of Money numbers like

Lakhs - 100000

Thousands - 1000

Decimal - Num(Measure, '#.##.#0')

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Anonymous
Not applicable

try using the Num And Num# functions.

avinashelite

currently we don't have direct way to do this ..we need to handle this in the expression level ...like this

if(Sum(Sales) > 1000000,  num(Sum(Sales)/1000000, '#.##0,##M', ',', '.'),

    if(Sum(Sales) > 1000, num(Sum(Sales)/1000,  '#.##0,##K', ',', '.'), num(Sum(Sales), '#.##0,##', ',', '.')))