Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
I have a table called WorkersSalary and a field called salary and another field called name.
I want to plot another field wich is Salary incremented = salary x 0.8
Name | Salary | Salary incremented |
John Smith | 25000 | 20000 |
Joe Black | 31000 | 24800 |
Mark Johnson | 26000 | 20800 |
I tried to add a measure calling it salary_incremented = 'WorkersSalary'[salary]*0.8
but it returns an error
Could you please help me? Thank you
Hello,
you cannot use the column directly. Try:
Slary_incremented = SUM('WorkersSalary'[salary]) * 0.8
Regards
No, this doesn't work, I don't understand what number returns but it is definitely wrong
I tried it with your table:
Name | Salary |
John Smith | 25000 |
Joe Black | 31000 |
Mark Johnson | 26000 |
Make sure that your Data Type of the Salary column is not set to text.
Regards
It is not set to text but, for what I see it is a Sum.
I am having the same problem with another data.
I have a field "rent_days" which is the number of days a machine is rented. I must convert this number into years so I'm doing
rent_years = sum('Table'[rent_days])/365
but the output numbers aren't reasonable.
What I'm seing is the rent_days is grouped as a sum.
I don't really know how to change it.
Hey,
you can change that in the table view. Select the column with the sum-icon in front and change it above to Do not summarize. See below:
Mark the post please as solution if this does the trick 🙂
Regards
No, I can't because the option is greyed out. I believe it is because I'm not the one who created the table but I used a dataset someone else imported. I don't know.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
7 | |
6 | |
6 | |
6 |
User | Count |
---|---|
27 | |
12 | |
10 | |
9 | |
6 |