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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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