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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

DAX divsion

Hi All,

I need help to know the dax that I can use to calculate this table.  The Completed column is a dax derived from the main table. 

Seen  Completed

No       2

Yes      98

NA     2

total  102

I want to have a division of each row from the total . For example, 2/102, 98/102

2 REPLIES 2
ValtteriN
Super User
Super User

Hi,

Here is one way to do this:

ValtteriN_0-1694611355884.png

DAX:

Divide by total =

var _total = CALCULATE(SUM('Table (6)'[Completed]),ALL('Table (6)')) return

DIVIDE(SUM('Table (6)'[Completed]),_total)

End result:
ValtteriN_1-1694611476254.png

 

I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!

My LinkedIn: https://www.linkedin.com/in/n%C3%A4ttiahov-00001/





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

Proud to be a Super User!




Anonymous
Not applicable

Thanks Valtterin,
The issue that I have is that I already have a filter which must be used to show the completed before the calculation is applied and using ALL will remove the filter and will be showing everything thereby giving wrong figures.  How do I apply your fomular with the below

CALCULATE(SUM('Fact'[RowCount]),
FILTER(Step,Step[step_status]= "Com"))

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.