The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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!
@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!
Hi, @Anonymous
Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.
Table:
You may create a line chart as below.
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"
)
)
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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.
User | Count |
---|---|
77 | |
76 | |
36 | |
31 | |
29 |
User | Count |
---|---|
93 | |
81 | |
57 | |
48 | |
48 |