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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register 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
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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