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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. 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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon & SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.