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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Damir85
Frequent Visitor

Cannot count at the context table

Hello i need to count how many rows with 3 conditions.

SUMMARIZECOLUMNS dont work with context.

Screenshot_4.png

4 REPLIES 4
Anonymous
Not applicable

Hi @Damir85,

Can you please share some dummy data with a similar data structure and expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

pmay
Resolver I
Resolver I

What columns exist in Project and what relationship do you have configured between Project & Allocation?

pmay
Resolver I
Resolver I

If your relationships are valid, why not simply use this?


Calculate 
 (countrows(Project),Filter(Allocation, Allocation[ContractorName = Blank()
))

Do you have relationships configured between the tables?

Damir85
Frequent Visitor

It doesnt work.

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.

Top Kudoed Authors