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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to connect fake data to sum(Sales)

Hello everyone,

I have a map in qlik sense where I'd like to connect test Postal codes (not from the customer) to sum(Sales). I've heard that you can do that, but I don't know how to. There's no option for me to use the customers real postal codes, hence trying to do it this way.

I heard you can use random function, but how? This is what my map looks like right now:

Karta.PNG

I would like to be able to be able to show sum(sales) per city. How do I go about this when the postal code is fake?

Sincerely,

Betty Habtemariam

1 Reply
sunny_talwar
MVP
MVP

May be create sales in the script like this:

LOAD OtherFieldNames,

          Ceil(Rand() * 100) * 100 as Sales

FROM Source;

and then you can use Sum(Sales)