Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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