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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
android1
Post Patron
Post Patron

Adding two column values, one with a string, the other a boolean

Hi,

 

I have two columns I'd like to add if both conditions are met.

If CallSource = "Call" and RecNum is True then I want to count this as 1.

 

LLL = COUNTROWS(FILTER(Table_Calls,Table_Calls[Callsource] = "CALL"))

 

How do I add the RecNum is True to this?

 

Thanks,

android1

1 ACCEPTED SOLUTION
jthomson
Solution Sage
Solution Sage

Try:

 

calculate(countrows(Table_Calls),Table_Calls[Call_Source]="CALL",Table_Calls[RecNum]=TRUE())

View solution in original post

1 REPLY 1
jthomson
Solution Sage
Solution Sage

Try:

 

calculate(countrows(Table_Calls),Table_Calls[Call_Source]="CALL",Table_Calls[RecNum]=TRUE())

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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