cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors