Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
asantos
Contributor III
Contributor III

Add a conditional column to a straight table

I got the following difficulty and I was hoping you guys could help me:

I need to create a P&L-like report and the data is like this:

MonthYearProductBrandRegionProductFamilyVolumeRevenueCostMkt Expenses
012020ItemAABCNorthBeverage1000100080030
022020ItemBCFDSouthSnack5070404

 

From my research, I have to do a crosstable so that I can have the column header as row headers and be able to use on the P&L visual.

It jumped from 214k lines to 19million, but I guess it's unavoidable.

The main challenge now is how would I go about adding a conditional column so the user can click on a category and have it expand on a row level. I guess at editor level, it could this column's categories could even be static:

Description20192020
Revenue9001070
Volume9501050
Expenses3034
      - Mkt3034
      - Ads10.5

 

I appreciate your time!

Labels (1)
0 Replies