I'm just guessing the layout of your data, but you should be able to create a copy of the metric on the Rows shelf and create a dual axis chart. From there you'll just need to adjust the settings in the Marks cards for that particular pill by removing the dimension for color. This should result in a single overall line. Feel free to share a workbook, if this doesn't give you what you need.

-Wesley

If this post assists in resolving the question, please mark it helpful or as the 'correct answer' if it resolves the question. This will help other users find the same answer/resolution. Thank you.

Thanks for the quick turnaround. My goal is to add the trendline on the same bar chart that sum the inflows and outflows. Can you please help me to combine them together in one chart? Thank you very much!