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
Jam1
New Member

DAX DIVIDE function/expression with one column?

Hello,

 

I am new to power BI DAX constructs and would like some help.  Task is to simply divide items within a single column.  Is this possibe?  For example - given the grid below, take New lable total purchases for Jan (west region) and divide by new label total purchases for Jan (total region) * 100 to get percentage.  Essentially, (3148 / 33888) * 100 = 9.3%.  All of the documentation that I've come across requires division to be taken place with two seperate columns.  Can you advise on how to express this calculation with the appropriate DAX formula?  I greatly appreciate the assist.

 

labelMonth-of-PurchaseRegionPurchaseWkTotal Puchase
NewJanWest2015W023148
NewFebEast2015W057195
ModerateDecSouth2015W491882
OldMarNorth2015W152779
OldMarTotal Region2015W1515999
NewJanTotal Region2015W0533888
ModerateDecTotal Region2016W4944444

 

 

 

Thanks!

1 ACCEPTED SOLUTION
th3h0bb5
Resolver II
Resolver II

I think your best bet is going to be to clean your data. As a general rule, you shouldn't have values and aggregated totals in the same column. If you took out the Totals from that column, you could use this DAX:

 

column= [Total Purchase] / SUM([Total Purchase]) *100

 

If you're unable to clean the data, I suggest trying the CALCULATE function (click here to read more).

View solution in original post

2 REPLIES 2
th3h0bb5
Resolver II
Resolver II

I think your best bet is going to be to clean your data. As a general rule, you shouldn't have values and aggregated totals in the same column. If you took out the Totals from that column, you could use this DAX:

 

column= [Total Purchase] / SUM([Total Purchase]) *100

 

If you're unable to clean the data, I suggest trying the CALCULATE function (click here to read more).

Agreed.  Best bet certainly looks like cleaning the data.  Thanks a ton!

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.