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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
JackUK
New Member

Combining static values and measures in a visualisation

I have a fact table "Previous Dept Costs" that shows the total costs for each area over the previous 5 years. Columns are: "department", "year", "total cost".

 

I have a second table "current cost" with new data that shows individual employee costs for the current year, these are not summarised, columns "employee id", "employee cost", "employee department", "year". 

 

im trying to achieve a visualisation to show total cost per department over time, this requires the "previous cost" from the first table and a calculated total cost for the current year from the "current cost".

I can do it by creating a calculated column in the "previous dept costs" table that calculates the sum of "current cost" but this means that current year values are not dynamic and can't be changed with a slicer (eg. To exclude an employee from the current year total). 

is there any way to achieve this or am I going completely wrong trying to combine static values with calculated. 

I would start with based data for previous years but this is a data set I've inherited and only summarised data has been stored 😞 

 

thanks for any guidance 

 

 

 

1 REPLY 1
NaveenGandhi
Super User
Super User

Hello @JackUK 

 

Kindly provide sample data or PBIX to understand the problem better.

 

Regards,

Naveen

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.