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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
atin
Advocate III
Advocate III

Simple DAX question - using the SUM & DIVIDE Function

Hi all 

 
My question is how do I apply the DIVIDE FUNCTION to the calculation below as I want to divide Total Sales by 10,000
 
At the moment, it shows like this in my reports and I am getting the correct numbers -however I also want to apply the DIVIDE function to the calculation.
 
Total Sales =
(SUMX(Sales,
Sales[Order Quantity] * Sales[Unit Price] ) / 10000) 
 
Many thanks 
 
 
2 ACCEPTED SOLUTIONS

@atin 

 

Sorry for my mistake, I should enter, not /

 

Total Sales =
DIVIDE(
    SUMX(
        Sales,
        Sales[Order Quantity] * Sales[Unit Price] 
    ) 
    , 
    10000
) 
Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

View solution in original post

many thanks @Fowmy . It works now 

View solution in original post

4 REPLIES 4
Fowmy
Super User
Super User

@atin 


Modify and try like this: 

Total Sales =
DIVIDE(
    SUMX(
        Sales,
        Sales[Order Quantity] * Sales[Unit Price] 
    ) 
    / 
    10000
) 

 

________________________

If my answer was helpful, please consider Accept it as the solution to help the other members find it

Click on the Thumbs-Up icon if you like this reply 🙂

YouTube  LinkedIn

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

IMG_9042.jpgHi @Fowmy 
Many thanks for your solution. 

I seem to be getting an error with the updated formulae. I have included a photo. "Too few arguments were passed to the DIVIDE function. The minimum argument count for the function is 2"

 

 

 

@atin 

 

Sorry for my mistake, I should enter, not /

 

Total Sales =
DIVIDE(
    SUMX(
        Sales,
        Sales[Order Quantity] * Sales[Unit Price] 
    ) 
    , 
    10000
) 
Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

many thanks @Fowmy . It works now 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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