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

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

Reply
reh169
Helper IV
Helper IV

Divide count of one column by the sum of another

I have a graph that is showing the total number/count of applciations over a time frame by application date for different marketing sources. I am acheiving this by just counting the number of application dates I have but I could count a different metric. I need to add a line for normalization and the calcuation for that  would be the count of applications by marketing source ( my x axis) / by the total number applications that occured.  Every measure or calculation that I do is giving me a 100% or a 1 so it is dividing by itself. How do I get around this?

1 ACCEPTED SOLUTION
BILASolution
Solution Specialist
Solution Specialist

Hi @reh169

 

Apps.png

 

table.png

 

 

Measures:

 

Count Apps = COUNT(Table1[Application])

Total Apps = CALCULATE([Count Apps];ALL(Table1))

Division = DIVIDE([Count Apps];[Total Apps])

 

I hope this is what you're looking for

 

Regards

BILASolution

View solution in original post

3 REPLIES 3
v-huizhn-msft
Microsoft Employee
Microsoft Employee

Hi @reh169

Plase try the solution @BILASolution posted, please feel free to ask if you have any other issue. And please mark the right reply if you have resolved your issue.

Thanks,
Angelia

BILASolution
Solution Specialist
Solution Specialist

Hi @reh169

 

Apps.png

 

table.png

 

 

Measures:

 

Count Apps = COUNT(Table1[Application])

Total Apps = CALCULATE([Count Apps];ALL(Table1))

Division = DIVIDE([Count Apps];[Total Apps])

 

I hope this is what you're looking for

 

Regards

BILASolution

Greg_Deckler
Community Champion
Community Champion

Edit your denominator to be something like CALCULATE(COUNT([Column]),ALL(Table)). Essentially, you need to override the context of your denominator.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors