Forum Discussion
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.
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).
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
- lbendlin
Super User
What if the employee's salary changes from one month to another? How should that be handled?
- AnonymousNot applicable
HI Anonymous,
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