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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.