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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
IndiaAtlanta
New Member

Using the folder option for Salary Charts

Hi, I'm very new to power BI and have run into a bit of trouble. 

 

I currently use a folder full of CSV files, each representing a month of the year. Each of these files show the employee's annual FTE salary. The one below is an example of the November spreadsheet. 

IndiaAtlanta_0-1671295167973.png

I want to be able to show a bar chart which tells me what each department's annual spending for wages is. However, at the moment it is adding up the wages from each montly csv (treating the annual salary as a monthly wage).

IndiaAtlanta_1-1671295423035.png

How can I make PowerBI understand that it only needs to show the FTE salary once for each unique employee ID number? 

 

Thank you for any help here. 

2 REPLIES 2
v-shex-msft
Community Support
Community Support

HI @IndiaAtlanta,

I'd like to suggest you write a measure formula to calculate the monthly value at first, and you can calculate based on current category and use the formula on the chart value fields.

If you are confused about coding formula, please share some more detail information share some dummy data that keep the raw data structure with expected results? They will help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
lbendlin
Super User
Super User

What if the employee's salary changes from one month to another?  How should that be handled?

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.