Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Graph with 2 Lines Using One Table

Hi

 

I want to create a chart showing 2 lines namely debit and credit using the cost (bdr_hfl).

 

I don't want to split the table between credit and debit.

 

Kindly advise if it is possible.

 

Thanks...tksnota...

 

tksnota_1-1730387020403.png

 

 

tksnota_0-1730386729912.png

 

2 ACCEPTED SOLUTIONS
FreemanZ
Community Champion
Community Champion

hi @Anonymous ,

 

yes, pivot the category column in power query, then everything will be more intuitive.

 

about pivot, check this:

https://learn.microsoft.com/en-us/power-query/pivot-columns

 

View solution in original post

Anonymous
Not applicable

Hi @Anonymous ,

 

Did FreemanZ's reply help you?

In my opinion, I think you want us to recommend a visual. Line chat in Power BI is possible.

Put date as x-axis, bdr_hfl as y-axis, category as Legend. Then you will get the same content as in the image you provided.

vstephenmsft_0-1730799869625.png

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

 

Did FreemanZ's reply help you?

In my opinion, I think you want us to recommend a visual. Line chat in Power BI is possible.

Put date as x-axis, bdr_hfl as y-axis, category as Legend. Then you will get the same content as in the image you provided.

vstephenmsft_0-1730799869625.png

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

FreemanZ
Community Champion
Community Champion

hi @Anonymous ,

 

yes, pivot the category column in power query, then everything will be more intuitive.

 

about pivot, check this:

https://learn.microsoft.com/en-us/power-query/pivot-columns

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.