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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Rav3n
New Member

Display individual lines

Hi All,

 

I've been using excel for analytics in the past, and witching now to Power Bi.  How can I display individual lines simultaneously without combining them into a single one.

 

I have 2 support groups to compare. Each has Requests and Incidents. I need 4 lines on the graph:

Data Center Incidents

Data Center Requests

Workstation Services Incidents

Workstation Services Requests

 

Didn't find any functionality to do so. If anyone has an Idea, I would really appreciate anyhelp.

 

power-bi.JPG

 

1 ACCEPTED SOLUTION
v-alq-msft
Community Support
Community Support

Hi, @Rav3n 

 

Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.

Table:

c1.png

 

You may create a visual as below.

c2.png

 

Or you can create a measure for each Re/In and put them in 'Values'.

Data Center Incidents = 
CALCULATE(
    SUM('Table'[Value]),
    FILTER(
        'Table',
        [Re/In]="Data Center Incidents"
    )
)
Data Center Incidents = 
CALCULATE(
    SUM('Table'[Value]),
    FILTER(
        'Table',
        [Re/In]="Data Center Incidents"
    )
)
Workstation Services Incidents = 
CALCULATE(
    SUM('Table'[Value]),
    FILTER(
        'Table',
        [Re/In]="Workstation Services Incidents"
    )
)
Workstation Services Requests = 
CALCULATE(
    SUM('Table'[Value]),
    FILTER(
        'Table',
        [Re/In]="Workstation Services Requests"
    )
)

 

c3.png

 

Best Regards

Allan

 

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
v-alq-msft
Community Support
Community Support

Hi, @Rav3n 

 

Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.

Table:

c1.png

 

You may create a visual as below.

c2.png

 

Or you can create a measure for each Re/In and put them in 'Values'.

Data Center Incidents = 
CALCULATE(
    SUM('Table'[Value]),
    FILTER(
        'Table',
        [Re/In]="Data Center Incidents"
    )
)
Data Center Incidents = 
CALCULATE(
    SUM('Table'[Value]),
    FILTER(
        'Table',
        [Re/In]="Data Center Incidents"
    )
)
Workstation Services Incidents = 
CALCULATE(
    SUM('Table'[Value]),
    FILTER(
        'Table',
        [Re/In]="Workstation Services Incidents"
    )
)
Workstation Services Requests = 
CALCULATE(
    SUM('Table'[Value]),
    FILTER(
        'Table',
        [Re/In]="Workstation Services Requests"
    )
)

 

c3.png

 

Best Regards

Allan

 

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

amitchandak
Super User
Super User

@Rav3n , You can have multiple measures or you can use a legend, you can not have both.  In this case, you might have create 4 measures

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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