This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Mates,
I have two datasets 1) Forecast 2) Actual. Both the datasets having EmployeeName in common (and same values), i have also created a relationship on EmployeeName between the two datasets. I want to see both Forecast count and Actual count together in a report for a period of time (say every month for FY19), I am able to achieve this using Line chart. However, when I use Matrix/Table and add EmployeeName (from either of the datasets) in the Rows, I am getting wrong results from the other dataset. Say, if i use EmployeeName from Forecast, Actual count is getting wrong and vice versa.
Any leads on this?
Solved! Go to Solution.
Hi @slanka ,
I have created a sample for your reference, please have a check.
Measure =
VAR emname =
MAX ( Actual[EmployeeName] )
RETURN
SUMX (
Actual,
CALCULATE (
SUM ( Forecast[value] ),
FILTER ( Forecast, Forecast[EmployeeName] = emname )
)
)
Pbix as attached. If it doesn't meet your requirement, Kindly share your sample data and excepted result to me if you don't have any Confidential Information. Please upload your files to One Drive and share the link here.
Hi @slanka ,
I have created a sample for your reference, please have a check.
Measure =
VAR emname =
MAX ( Actual[EmployeeName] )
RETURN
SUMX (
Actual,
CALCULATE (
SUM ( Forecast[value] ),
FILTER ( Forecast, Forecast[EmployeeName] = emname )
)
)
Pbix as attached. If it doesn't meet your requirement, Kindly share your sample data and excepted result to me if you don't have any Confidential Information. Please upload your files to One Drive and share the link here.
Hi @slanka ,
Kindly share your sample data and excepted result to me if you don't have any Confidential Information. Please upload your files to One Drive and share the link here.
Try creating a third table with only employee names, and use that as your dimension table. Then when you build your matrix, use the employee name field from that third table. Maybe?
Thanks for your reply! But that may not be ideal, as i have to create relationships between the tables again.. it's again creating same issue..
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 27 | |
| 25 | |
| 25 | |
| 21 | |
| 14 |
| User | Count |
|---|---|
| 50 | |
| 44 | |
| 20 | |
| 18 | |
| 18 |