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: 
Not applicable

Straight table, same value for each SKU

Hi,

This is where I started from. I have straight table that gives current inventory value for each SKU.

qv-po1.png

I need to add new date dimension that doesn't exist for inventory data. When I add it, inventory value is 0 for each date dimension rows and there is a null field that has all the inventory in it. How can I replicate the inventory value for each sku rows so it ignores the required date field?

qv-po2.png

Expression is following:

sum({< [Inventory YearWeek] = {'$(=Max({1}[Inventory YearWeek]))'}, Year=,[Required Date]=,Date=, MonthName=, Month=, Quarter=, Week= ,[Item Type]-={'Service'} >} [Inventory Qty])

1 Solution

Accepted Solutions
sunny_talwar

Try this:

Sum(TOTAL <SKU> {< [Inventory YearWeek] = {'$(=Max({1}[Inventory YearWeek]))'}, Year=,[Required Date]=,Date=, MonthName=, Month=, Quarter=, Week= ,[Item Type]-={'Service'} >} [Inventory Qty])

View solution in original post

1 Reply
sunny_talwar

Try this:

Sum(TOTAL <SKU> {< [Inventory YearWeek] = {'$(=Max({1}[Inventory YearWeek]))'}, Year=,[Required Date]=,Date=, MonthName=, Month=, Quarter=, Week= ,[Item Type]-={'Service'} >} [Inventory Qty])