Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Dear members and users,
I have a question please; I have 3 date variables ( contact attempt1, contact attempt2, contact attempt3) . As mentioned all of them are date type I would like to use COUNTIFS or nested IF and COUNT formula sametime. The proposed formula could be; COUNTIFS( first variable is empty count it, otherwise return that value, second variable the same above condition, third variable also the same above condition).
would you please kind of formulate/write the syntax so I can have a clear idea .
many thanks in advance,
Solved! Go to Solution.
@tameismael , Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
There are many ways
Countx(Table ,
Switch( True() ,
//Condition , // result,
//Condition , // result,
//deafult
)
Switch-Case statement of #PowerBI: https://www.youtube.com/watch?v=gelJWktlR80&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=56
@tameismael , Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
There are many ways
Countx(Table ,
Switch( True() ,
//Condition , // result,
//Condition , // result,
//deafult
)
Switch-Case statement of #PowerBI: https://www.youtube.com/watch?v=gelJWktlR80&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=56
Yes thank for your response the data fields in pbix image attached , the data didn't populate yet I'm waiting for the data entry from the users side. But can you maybe please formulate the condition/result way so I. An have an idea. Thanks

โ
Check out the November 2025 Fabric update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!