Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
ajithsachin
Partner - Contributor II
Partner - Contributor II

Ignore Dimensions

Hi All,

     I have a table like this.

    now i need to show one straight table like

    

     

    How to add the last column Ware house stock.

    Can anybody help please.

Regards,

Ajith

8 Replies
alexandros17
Partner - Champion III
Partner - Champion III

in the dimension write at the place of Branch:

If(Branch='WhareHouse', Null(), Branch) then check the box "Suppress Null Values"

in the expressions write a new one:

Sum({$ <Branch = {'WhareHouse'}>} TOTAL [Current Stock])

let me know

ajithsachin
Partner - Contributor II
Partner - Contributor II
Author

Hi Alessandro Saccone,

     Thanks for the reply.

     This will work fine if only one item is there. My case i have multiple items. So i will get same stock fro all the items.

     i need item wise ware house stock.

Regards,

Ajith

PrashantSangle

Hi,

Try like

Use CalculatedDimension

if(not wildmatch(Branch,'WareHouse'),Branch)

then check supress Null Values

And Use two expression

1->sum(Current Stock)

2->Sum({<Branch="WareHouse">}Total Current Stock)

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Not applicable

Hi Ajith,

Please find the attachment.

Warm Regards,

Joshmi

ajithsachin
Partner - Contributor II
Partner - Contributor II
Author

Hi Max Dreamer,

      Thanks.

      This will work only if there is one item.

       In case of multiple items this wont work.

Regards,

Ajith

ajithsachin
Partner - Contributor II
Partner - Contributor II
Author

Hi All,

     Let me put my question in this way.

     My table contains data like this.

         

     and need result like this

    

     I think now the question is clear.

Regards,

Ajith

manojkulkarni
Partner - Specialist II
Partner - Specialist II

for warehouse, use aggr() on item, so it would return expected result.

ajithsachin
Partner - Contributor II
Partner - Contributor II
Author

Hi Manoj,

     If you don't mind can you just add that expression and give.