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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
fabiomanniti
Helper III
Helper III

How to create a column with incremented values

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

 

NameSalarySalary incremented
John Smith2500020000
Joe Black3100024800
Mark Johnson2600020800

 

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

6 REPLIES 6
Anonymous
Not applicable

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

Anonymous
Not applicable

I tried it with your table:

 

Name

Salary

John Smith25000
Joe Black31000
Mark Johnson26000

 

 

SampleData.PNG

 

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.

fabiomanniti_0-1631193551763.png

 

Anonymous
Not applicable

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:

 

summarization1.PNG

 

 

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.

 

fabiomanniti_0-1631265166021.png

 

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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