Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Advice on ABC stock analysis

Hi All,

I need advice on the following topic, see table descriptions below.

The idea is to be able to select a date (from the mastercalendar) and an article, so that te application shows the corresponding costprice and numbers in stock.

In the COSTPRICE table the date is defined as a range. The STOCK table however contains only the mutation-dates, with the number_in_stock being the actual number.

Because the tables COSTPRICES and STOCKS both contain the column ART_ID, I got a circular reference in my datamodel.

In the end, I would like to be able to do an ABC analysis based on costprice and number_in_stock.

What is best practice in a situation like this?

Thanks in advance!

Marco

-------------------------------------------------------------------------------------------------------------------------------------------------

MasterCalendar:
date

Articles:
art_id
description

CostPrices:
art_id
start_date
end_date
price

Stocks:
art_id
date
number_in_stock

0 Replies