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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Help with 2 Issues

Good morning,

I'm ussing a personal edition and I'm trying to build a pivot table to show the inventory accuracy, let me explain my two issues:

1.- I have a Oracle DB that have a fiel call Count Date in DD/MM/YYYY

     I want to separate it in Days, Months and Year in order to use it like a Dimension, but I don't know how.

2.- In order to calculate the Inventory accuracy, i have 2 level to do it.

     . For Item           -  I'm ussing two field "Stock in Sistem" and "Stock Count" and this work fine.

     . For Item Family - I woul like to know how many Items are right, using

          Count(DISTINCT(If(Stock in Sistem=Stock Count,Item)))   This Work some time but not in all case.

see attached my app

Could someone help me with it please

Labels (1)
2 Replies
rohit214
Creator III
Creator III

HI

try this

1)day(dateField)

year(dateField)

month(dateField)

2) If(Stock in Sistem=StockCount,Count(Distinct item),0)

may it helps you

please let me know

thanks

rohit

kamalqlik
Partner - Specialist
Partner - Specialist

Hi friend....you can applly the following logic

1.Day(Count Date) as Day

2.Month(Count Date) as Month

3.Year(Count Date) as Year

4.monthstart(Count Date) as Monthstart.

regards

kamal