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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
BHRWORKBAL
New Member

DAX - Measures - Unable to use measures created in another measure?

Hi All,  

 

Can I ask, is it possible to use 2 seperate measures (same table/datamodel), in a new measure? 

 

I have 2 measures to:

1) Countrows when row = X

2) Countrows  when row = Y

 

 

I want to take measure  1 and Divide it by the Sum of 1 & 2

 

But when I divide i cant access/see the measures in the second part.

1 ACCEPTED SOLUTION
BHRWORKBAL
New Member

Solved 

 

Yes it does work - you can add two measures:

 

Caldna = DIVIDE(Table1DNA[DNA],CALCULATE(Table1DNA[DNA]+Table1[Attended]),0)

View solution in original post

1 REPLY 1
BHRWORKBAL
New Member

Solved 

 

Yes it does work - you can add two measures:

 

Caldna = DIVIDE(Table1DNA[DNA],CALCULATE(Table1DNA[DNA]+Table1[Attended]),0)

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors