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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
daledale
Frequent Visitor

Line Chart - 2 budgets 1 Node

Hi everyone,

 

I'm trying to create a line chart that change with according 2 slicers.

One slicers contains Nodes (1,2,3,4, etc...).

The other one contains Budgets (A, B, C, etc...)


The line chart shows me the added value of A+B when I select the Node (1). And shows me the behaviour of the budget once I select it, be it A or B or whatever.


But when I want to see Budget A and B at the same time, it only shows as 1 line, and I'd need them to show separately. 


Is there a way to do that?

 

Thanks!

1 ACCEPTED SOLUTION
mwegener
Most Valuable Professional
Most Valuable Professional

Hi @daledale,

 

check this out.

 

CATEGORY_NODE = 'Table'[Nodo] & ", " & 'Table'[SDO] 

 

 

QC_DCO.png

QC_Factory.png

QC_Both.png

 

If I answered your question, please mark my post as solution, this will also help others.

Please give Kudos for support.

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


View solution in original post

12 REPLIES 12
mwegener
Most Valuable Professional
Most Valuable Professional

Hi @daledale 

 

If I answered your question, please mark my post as solution, this will also help others.

Please give Kudos for support.

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


mwegener
Most Valuable Professional
Most Valuable Professional

Hi @daledale,

 

did you solve your problem?


If I answered your question, please mark my post as solution, this will also help others.

Please give Kudos for support.

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


Sorry for the aweful delay! 
YES! THIS IS IT! Thanks a lot!

mwegener
Most Valuable Professional
Most Valuable Professional

If I answered your question, please mark my post as solution, this will also help others.

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


amitchandak
Super User
Super User

Not sure I got it completely. But if you put the budget in legend, then it should show two line. 

Legend.png

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Sorry for my late reply, I'm really stucked with this PBI and need to solve many issues I cannot find solutions for..

This is the way I have my tables (it's actually an unpivotted table)
NODE - CATEGORY - COUNTRY - ATTRIBUTE - VALUE
1                 A                   XX               Q1               $$

1                 B                   XX                Q1                $$
2                  A                 XXXX             Q1                $$
2                  B                 XXXX             Q1                $$

And so on... 
I have 2 slicers, which I use to filter my line charts.
1 is for NODEs, one is for CATEGORY.
If I filter by Category, I'm ok. Because I see a line for Category A, belonging to NODEs 1, 2, etc...
But if I filter by NODE, it shows me A+B as only one line in the chart.

Right now I have the NODEs in my legend and Attributes in my Axis.

 

 

mwegener
Most Valuable Professional
Most Valuable Professional

Hi @daledale ,

 

maybe you could create a calculated column (Category & Node) and use it in the legend.

 

CATEGORY_NODE = CONCATENATE('Table'[CATEGORY],'Table'[NODE])
 
If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.
Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


Thanks again, but what I need is to show them as 2 different lines when I filter by Node.
Meaning, I want to filter Node 1, and see a line for Category A, and a line for Category B.

mwegener
Most Valuable Professional
Most Valuable Professional

So?

Node.png

If I answered your question, please mark my post as solution, this will also help others.

Please give Kudos for support.

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


@mwegener sorry, I might not be expressing myself correctly. 

 

Maybe with Screenshots it's easier:

Node = Nodo
Category = SDO
My Node of Brasil has both sub categories. But when I filter only by Node, it adds up both:

Filtering by Node and Category AFiltering by Node and Category AFiltering by Node and Category BFiltering by Node and Category BFiltering only by Node shows added up bothFiltering only by Node shows added up both

 

I hope this claryfies my issue, Thanks again for the support!

mwegener
Most Valuable Professional
Most Valuable Professional

Hi @daledale,

 

check this out.

 

CATEGORY_NODE = 'Table'[Nodo] & ", " & 'Table'[SDO] 

 

 

QC_DCO.png

QC_Factory.png

QC_Both.png

 

If I answered your question, please mark my post as solution, this will also help others.

Please give Kudos for support.

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


mwegener
Most Valuable Professional
Most Valuable Professional

Hi @daledale ,

 

could you share sample data or a PBIX File?

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 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.