Showing results for 
Search instead for 
Did you mean: 
kumarsandeep Frequent Visitor
Frequent Visitor

Create measure by using two measure with condition


I have two measure NettingExp and NonNettingExp. I want to show these value in single column. Like'ResultData'[Status]="Netting" then show NettingExp measure else show NonNettingExp measure. 


Visual Example:-

PartyName     Expense(Either NettingExp or NonNettingExp)


I tried to add calculated column but not able to create as showing circuler dependency error. Any way to create measure like 

ExpenceMeasure = IF(ResultData'[Status]="Netting", NettingExp, NonNettingExp) ???


Please advise on this !!  

JosefPrakljacic Established Member
Established Member

Re: Create measure by using two measure with condition

Hello Kumar,


without sample data and sketching your model, we can only guess.


It is no shame to publish sample data and would help those who want to help you.


So may I ask you for sample data?


Here is a good article about how to avoid circular dependencies ->




Helpful resources

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Badges

Incoming: New and Improved Badges

Exciting news: We've given our badges an overhaul and added brand news ones.

Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 323 members 3,281 guests
Please welcome our newest community members: