There are numerous features and methods inside Qlik Sense that one may neglect to recall when a problem is offered. These features can all the time use sensible examples of implementation and use case situations. Let us take a look at the FROM_FIELD perform in Qlik Sense.
loaded * FROM_FIELD
Load * FROM_FIELD is a helpful script perform in Qlik Sense that lets you parse the contents of a single column into many columns or rows. Listed here are some sensible examples:
- Handle: Consumer Addresses are captured inside a single column on the supply system.
- Monetary: Chart of Accounts – Permits the jagged hierarchy of the chart of accounts to be learn from a single subject and transposed to rows or columns.
- Gross sales: Invoice of Materials – Traces on an Bill throughout the Stock Administration Methods a Invoice of Materials can have a jagged hierarchy saved inside a single column throughout the supply system. This may then should be separated into columns for reporting functions.
- Web site: Information captured inside a single column and desires offered in a number of columns.
columns
This script instance supplies the Handle parsed out into columns:
Handle:
Load * Inline [
Customer_ID, CustomerData
1101, 1101|Catering Service|25648 Fisherman Drive|Bellevue|NE|68005|United States
1102, 1102|Wedding Venue|PO Box 354 RW|Portsmouth|NH|03801|United States
];
Columns:
Load *
FROM_FIELD (Handle, CustomerData)
(txt, utf8, no labels, delimiter is '|', msq);
Pattern Output:




rows
This instance script supplies the Net Information parsed out into rows.
Web sites:
Load * Inline [
Website_ID, URLs
2546478SW$@265, www.cnn.com|www.foxnews.com|www.usatoday.com|www.nytimes.com
152478ER%^&154, www.google.com|www.snapchat.com|www.facebook.com|www.twitter.com
];
Rows:
Load *
FROM_FIELD (Web sites, URLs)
(txt, utf8, no labels, delimiter is '|', filters(Transpose()));
Pattern Output:
Alternatively, this could then be used as a filter throughout the utility, not only for output in a chart or graph.
Conclusion
Qlik Sense gives flexibility and creativity to beat the challenges of information and the way greatest to current it. This instance of the FROM_FIELD perform will hopefully assist spark a inventive answer to your subsequent problem.
Preserve Studying: Cumulative Sum Expression Writing In Qlik Sense