Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |