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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to calculate the price gap

Dear All QV Master,

I would like to develop a pricing gap dashboard to compare my brand pricing with my competitors brand pricing base on the input date.

I tried my best but it didn't work

Could you please give me solution with many thanks

Dashboard dimension: Input Date, Brand

Dashbaord expression: I tried with this one but it didn't work: avg(if(brandID='my brandID',_prices) - avg(if(brandID<>'my brandID',_prices)

My expectation dashborad like attached image below

BrandPricing.jpg

Thanks very much & Best Regards,

0 Replies