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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Bar and Line graph but with multiple lines

Hi there,

I am trying to show the current licenses we need in a bar chart but also over lay the expiries for the displayed licenses we have as lines in the combined chart.

 

The mock data below shows the total licenses we have on hand and reduces each month as we have rentals disappear.  I was hoping the line would show two lines also for the number per month of licenses we need (the axis on the right is a combination of all the licenses, I didn't have the slicer in place for the mockup and only had two licenses in the expiries table).  The issue is the line is combining the values for the licenses and not showing them as separate lines.

 

Is there a way to show the same number of lines as I am showing the bars for the varying licenses.

 

I have a dim table for date and a dim table for the licenses that the two tables are linked to in the relationship, but that didn't help splitting out the lines.

 

 

Bar_Line.JPG

 

Is there a way to achieve this.  In the example above there would be a line for Houdini Core and a line for Houdini FX like there is for the bars?

 

Many thanks

 

S.

 

4 REPLIES 4
Anonymous
Not applicable

What if I keep adding licenses to the expiry table, do I need to create a measure for each individual license I want to report on which looking at the license table would be about 80 of them to start with.  Also, what would the structure of the measure be?  I attempted to make a measure which just showed the same data, but I am rubbish with measures.  I put another post here also as to not muddy this one about trying to craft a basic measure to show the underlying data from the license table.

@Anonymous , As far as know standard visual does not support it. So the options are to check for a custom visual or use some alternate and vote for an Idea. This is a needed one, But still not there.

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
Anonymous
Not applicable

bummer, that would be really handy to have in place.  Thanks.  I will see what I can do about creating a measure.

amitchandak
Super User
Super User

@Anonymous , The standard visual do not allow the legends for the line.

 

Create measure for each of these values and put them as line and try 

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

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.