Hi Pawan,
Before working on the solution: I assume we didn't understand your requirement completely, we understood only half part of it.
Question 1: As you have 2 different prompts, one each for Product Group and Product Name, do you want to see a text "PnL Total" once only of nothing has been selected in both the prompts?
Question 2: What if someone selects one Group and one Product Name, what do you want to do in that scenario? Do you want to see the header as
PnL - <selected group> and <selected product name>?
Question 3: What if only one of the 2 prompts in answered?
Do you want to see as below?
PnL - <selected group or blank) and <selected product name or blank>
You understand my problem, you'll have to be a little more specific and cover more scenarios.
Thanks,
Mahboob Mohammed