Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hi! hope you all are fine
I need to create a calculation who count the homes reached. In this case, i have 47 reached homes. I´ve try to resolved with count and distintcount formula and no one helps.
Solved! Go to Solution.
Hi, @ljimenezvega84
You can try the following methods.
Measure =
CALCULATE (
DISTINCTCOUNT ( 'Table'[Calle] ),
FILTER ( ALL ( 'Table' ), [Venta Total] > 0 )
)
Is this the output you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi hnguy71,thanks for your response.
Im counting the reached homes with the total sales; if an adress_id have a sale, this is a reached home. But if i used count in the sales column the software give me the total sales (a home can have various sales).
Thanks
Hi, @ljimenezvega84
You can try the following methods.
Measure =
CALCULATE (
DISTINCTCOUNT ( 'Table'[Calle] ),
FILTER ( ALL ( 'Table' ), [Venta Total] > 0 )
)
Is this the output you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
Assuming Venta Total is a measure that you have written, drag this measure to a card visual
Measure = counrows(filter(values(Data[Calle]),[Venta Total]>0))
Hi @ljimenezvega84 ,
How can you determine when a homne has been reached? Do you perhaps have a small sample with expected output that you can share?
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 76 | |
| 37 | |
| 31 | |
| 27 | |
| 27 |