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: 
siddheshmane
Creator
Creator

Charts showing null

Hello all,

I have been facing this issue where I have to display an Inventory Value against a particular Brand but the bar chart does not plot anything. (No data to display).

My Dimension column contains Brand and in the Expressions I just add (Inventory Qty * Cost).  Somehow the Graph does not display anything. Whereas, when I change my Dimension from Brand to SKU the chart displays something (even if that is not the result i want).

I'm sure I am missing something here. What am I doing wrong

Thanks in advance,

Siddhesh

9 Replies
ahaahaaha
Partner - Master
Partner - Master

Hi,

Maybe expression ([Inventory Qty] * Cost)

caio_caminoski
Creator
Creator

Hi, try Sum(Inventory Qty * Cost) as your measure.

Regards,

Caio

caio_caminoski
Creator
Creator

Also, andrey is right, try

Sum([Inventory Qty] * Cost)

siddheshmane
Creator
Creator
Author

Thank you for helping me out here.

I tried doing SUM but the Inventory Value goes waay beyond actual..

SUM gives me axis of 35,000,000

whereas it should actually be around 40,000-50,000

ahaahaaha
Partner - Master
Partner - Master

Can we see a fragment of your data?

Clever_Anjos
Employee
Employee

The correct formula depends on your datamodel.

Could you print your datamodel?

siddheshmane
Creator
Creator
Author

Hi,

Apologies for the delay, Please find below QV file

Thank you

tresesco
MVP
MVP

If you use expression Sum(InventoryQty*[Unit Cost]), you get

Capture.PNG

and what do you expect to see?

siddheshmane
Creator
Creator
Author

Thank you for your advice,

I tried using this expression. but the user said that the value isn't supposed to exceed 100000. Am i doing something wrong?

Thank you.