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

line graph from multiple tables

I want to create a line graph that is pulling my forecasts from several tables. Can this be done in Power BI? Sure would be nice!

cbtekrony_0-1604596913155.png

 

3 REPLIES 3
Anonymous
Not applicable

@v-alq-msft and @jdbuchanan71 ,

Thank you for your help. I've discovered that I need to alter the way some of my data appears in my tables. I got creative so that my home-grown forecasting calculations (the formulas were such that I could not simply use the forecasting tool) appeared in a table visualization the way I wanted it to. I will need to acquire a better understanding of calculated columns and employ those tactics before I can try your solutions. 

I also used the Analytics Forecasting tool and I was hoping I could overlay other data on top of that in the visualization (for instance to compare forecasting to actual sales or other forecasting calculations). I'm pretty certain that is not possible in BI at this point, but hope it becomes possible.  

So my problem right now is not so black and white, but hoping once I rebuild my tables properly I can use your solutions! Thanks!

v-alq-msft
Community Support
Community Support

Hi, @Anonymous 

 

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

Table:

a1.png

 

You may create a line chart as below.

a2.png

 

Or you can create some measures like below.

Data Center Incidents = 
CALCULATE(
    SUM('Table'[Value]),
    FILTER(
        'Table',
        [Re/In]="Data Center Incidents"
    )
)
Data Center Requests = 
CALCULATE(
    SUM('Table'[Value]),
    FILTER(
        'Table',
        [Re/In]="Data Center Requests"
    )
)
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"
    )
)

 

a3.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.

 

 

jdbuchanan71
Super User
Super User

Yes, this can be done.  You would need a date table hooked to each of your source tables and a measure for each table to sum the value.  Then put the year from the date table on the x axis and the measures in the values.

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.