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
THENNA_41
Post Partisan
Post Partisan

Count based on the other column

I have table name called Leads data . this table  have a two column 

 

I  am  trying  Create a measure called converts which is count of trail_id where converted_date column is populated

 

converts = COUNT(Sheet1[date])

 

ID NO              date 

626238            

626231              August 26,2021      

636241

636564             August  28,2021

653234             August  29,2021

657634            August   30,2021

 

I want count of trail id where the converted Date populated .

 

Thanks in advance . looking for support .

1 ACCEPTED SOLUTION
technolog
Super User
Super User

or you can try:

converts = COUNTX( FILTER(Sheet1, NOT(ISBLANK(Sheet1[converted_date])) ) , COUNT([trail id])

View solution in original post

4 REPLIES 4
technolog
Super User
Super User

@technolog  Its worked . thanks for your support ..

technolog
Super User
Super User

or you can try:

converts = COUNTX( FILTER(Sheet1, NOT(ISBLANK(Sheet1[converted_date])) ) , COUNT([trail id])

technolog
Super User
Super User

Hi!
You can try:
converts = CALCULATE(COUNT(Sheet1[converted_date]), NOT(ISBLANK(Sheet1[converted_date]))

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.

Top Solution Authors