I have a table \'x\' with columns report_date, card_no, prod_hierarcy, card_grp, tot_bill(in $) as shown in below table with dummy values. I need to write hive query to cal