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

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

Reply
datadelta
Helper III
Helper III

Divide a row value by another row value

I am sorry but I have tried every way possible to get this to work before coming here.

 

I have have a data set with rows and I need to divide each row by another row within the set.

 

Store       Has Sales  Total Stores Avail  Penetration %

John's          74                      95                    77.89%

 

How do I write the formula in BI to get the penetration percentage?  Everything I write tries to do it by sum or by column.  

2 ACCEPTED SOLUTIONS
ALLUREAN
Solution Sage
Solution Sage

Penetration%Measure =

VAR _HasSales = SUM(Table[Has Sales] --or measure already created

VAR _TotalStores = SUM(Table[Total Stores Avail]--or measure already created
RETURN
DIVIDE(_HasSales , _TotalStores )
then set format to %




Did I answer your question? Mark my post as a solution!


https://allure-analytics.com/
https://www.youtube.com/channel/UCndD_QZVNB_JWYLEmP6KrpA
https://www.linkedin.com/company/77757292/

Proud to be a Super User!




View solution in original post

Thank you.

I suddenty realized I was overcomplicating the problem.

 

= SUM('AllStores'[Has Sales])/(95)

 

View solution in original post

2 REPLIES 2
ALLUREAN
Solution Sage
Solution Sage

Penetration%Measure =

VAR _HasSales = SUM(Table[Has Sales] --or measure already created

VAR _TotalStores = SUM(Table[Total Stores Avail]--or measure already created
RETURN
DIVIDE(_HasSales , _TotalStores )
then set format to %




Did I answer your question? Mark my post as a solution!


https://allure-analytics.com/
https://www.youtube.com/channel/UCndD_QZVNB_JWYLEmP6KrpA
https://www.linkedin.com/company/77757292/

Proud to be a Super User!




Thank you.

I suddenty realized I was overcomplicating the problem.

 

= SUM('AllStores'[Has Sales])/(95)

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.