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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Division formula for a column

I'm so new at PowerBI and this forum has been of extreme help...
Trying to do a division for a table but not finding the right way how to do it.
I have a Spending Amount for each user..
Query name is "UserSpending"

Username     Spending Amount
User1            500.00
User2           1000.00
User3           555.00
I want to divide each amount by 0.525 but getting an error.

This is what i am using.. which of course is not correct..
Spending-Amount = DIVIDE(0.525,'UserSpending'[Spending Amt])

Can someon help and appreciate it in advance!

1 ACCEPTED SOLUTION
dax
Community Support
Community Support

Hi @Anonymous , 

You could try below methods:

M code(click Edit Queries, then add column like below)

663.PNG

Calculated column or measure

Column = DIVIDE('Table'[Spending Amount],0.525)
Measure = SUM('Table'[Spending Amount])/0.525

664.PNG

Best Regards,
Zoe Zhi

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
dax
Community Support
Community Support

Hi @Anonymous , 

You could try below methods:

M code(click Edit Queries, then add column like below)

663.PNG

Calculated column or measure

Column = DIVIDE('Table'[Spending Amount],0.525)
Measure = SUM('Table'[Spending Amount])/0.525

664.PNG

Best Regards,
Zoe Zhi

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors