I think what you're asking for is how to show one tooltip for the profit line and another for the sales line.
If that's the case, you should use a Dual Axes instead of using measure names / measure values.
I need to add more that 5 measures ,in this case ?
I dont want all thge names in 5 measures .
I need two names to be displayed in tooltip in one measure.
and another 3 names to be displayed in other measure,simultaneously it follows
As per the thread I linked to, you can use Measure Names and Measure Values in the tooltip to show just the values for the line you are hovering over. You cannot however selectively do something like "If the line is Revenue, show Revenue and Profit. If the line is DIscounts, show only discounts"