Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Can't get right value

I have a problem for this relations

I have a table for conversion as this

ItemId        Factor          FromUnit          ToUnit

and I have a table for transactions as

ItemId          Qty          GroupId          UnitId

my question, when I set an expression in the chart as (Sum(Qty) for ItemId / Sum(Qty) for GroupId related with ItemId)

When I do it that I cant right value for conversion equation.

3 Replies
fred_s
Partner - Creator III
Partner - Creator III

Can you share your file, with some (sample) data?

Grtz Fred

Not applicable
Author

Hi fadibarri

Can you Share your File

morganaaron
Specialist
Specialist

How are you writing the expression?

If you want the % breakdown for each group of the items within it, try creating a table with GroupID and ItemID as your dimensions, then use Sum(Qty) / Sum(Total <GroupID> Qty) as your expression.

Otherwise, what is it you want from your conversion table?