Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
Aitelli_805
Contributor II
Contributor II

How to capture a name within a field

I would like to create a dimension to give me everything  within  equi that have description rain .   The field are po_number, material_description.  I'm trying to capture all the purchase order that have  rain inside the material_description. 
And I want to create a dimension with just material_description to only bring up rain.

po_numbermaterial_description
123456rain
893455rain
1 Solution

Accepted Solutions
dplr-rn
Partner - Master III
Partner - Master III

use only function put material_description as dimension and measure
Only({<material_description={'rain'}>} po_number)

View solution in original post

5 Replies
dplr-rn
Partner - Master III
Partner - Master III

you will need set analysis.
something like Sum({<material_description={'rain'}>} Sales)
https://community.qlik.com/t5/Qlik-Design-Blog/A-Primer-on-Set-Analysis/ba-p/1468344
Aitelli_805
Contributor II
Contributor II
Author

I'm not trying to sum. Would like to view all the rain listed which is related to a po number.

dplr-rn
Partner - Master III
Partner - Master III

use only function put material_description as dimension and measure
Only({<material_description={'rain'}>} po_number)
Kashyap_R
Partner - Specialist
Partner - Specialist

hi

try this

if(decription='rain',po_number)

 

Thanks

Thanks and Regards
Kashyap.R
dplr-rn
Partner - Master III
Partner - Master III

adding to kashyap.
you will need to un-select 'Inlude null values'. it will work
but please note that if statements are less efficient than set analysis. if your data size is not too high if statement should work fine from a performance point of view. But as a standard i always recommend to avoid them unless not other way