Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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