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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
ShevKov
New Member

Combine 2 measures

Hi all, I have created two measures that work. Now my goal is to combine these into 1 measure with the rule being: if for a certain period (date) measure 1 does not return anything, the results from measure 2 should be displayed.

 

Is there any equivalant for IF(ISBLANK( that can be used for this situation?

Two measures are based on same column but with different filter:

Measure 1 = CALCULATE(SUM('Table'[column]),'Table'[column2] = FALSE())

Measure 2 = CALCULATE(SUM('Table'[column]),'Table'[column2]= TRUE())

 

If more information about the case is needed, please ask.

Any help is very welcome, thank you!

 

PS: any other topics on this subject were not applicable.

1 ACCEPTED SOLUTION
CNENFRNL
Community Champion
Community Champion

@ShevKov , if, at any moment, one of [Meaure 1] and [Measure 2] is blank, you might simply combine them this way,

Measure Combined = [Meaure 1] + [Measure 2]

Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

View solution in original post

3 REPLIES 3
CNENFRNL
Community Champion
Community Champion

@ShevKov , if, at any moment, one of [Meaure 1] and [Measure 2] is blank, you might simply combine them this way,

Measure Combined = [Meaure 1] + [Measure 2]

Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

Anonymous
Not applicable

Hi, 

however you can't do that if you try to sum (not total summation) measure from different tables. 

how can you solve that?

amitchandak
Super User
Super User

@ShevKov , is not same as sum('Table'[column])

 

or if(isblank([measure 1]), [measure 2],[measure 1])

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.