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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

PB Divide Function

Hi Everyone,

 

I am new to power BI and I am trying to use divide function. I want to make precentage of OTAS but my answer on PB are wrong. I check on excel it work good but not in PB.

I try to use diffrent technique but still not able to figure out. Stop No is this PB are count. I also past the excel solution which I want on PB. On excel I used count funtion for OTAS and OTAW. 

If any one know please guide.

Amjad1234_0-1595554774972.png

StopLoads OTASOTAW  OTAS %OTAW %
        
15467 29164786 53%88%
24030 17513171 43%79%
31638 6111237 37%76%
4594 164422 28%71%
5227 44136 19%60%
681 1232 15%40%
721 29 10%43%
83 01 0%33%
1 ACCEPTED SOLUTION

@Anonymous , not able to relate data with output. Still created a couple of formulas. check a file after signature. 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

4 REPLIES 4
amitchandak
Super User
Super User

@Anonymous , Can you share sample data and sample output in a table format? and formula in use as of now.

 

I am not sure aggregation you want. But kind of formula should work

OTAS % = divide(sum(Table[OTAS]),sum(Table[Loads]))
OTAW % =divide(sum(Table[OTAW ]),sum(Table[Loads]))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Hi Amitchandak,

Please see both power Bi and excecl data which I am trying to make on BP.

and sample data on excel.

https://stuconestogacon-my.sharepoint.com/:f:/g/personal/aamjad8961_conestogac_on_ca/EqCyQrybrRxGu1R...

 

This Summery report I want to make on BP.

 

StopLoads OTASOTAW  OTAS %OTAW %
        
15467 29164786 53%88%
24030 17513171 43%79%
31638 6111237 37%76%
4594 164422 28%71%
5227 44136 19%60%
681 1232 15%40%
721 29 10%43%
83 01 0%33%

Amjad1234_0-1595557034734.png

 

 

@Anonymous , not able to relate data with output. Still created a couple of formulas. check a file after signature. 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@amitchandak , thank you for your helop.

I created the required summery.

 

Thanks

 

Helpful resources

Announcements
Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.