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

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.

Reply
Anonymous
Not applicable

DAX

sunalgupta_0-1604437121971.png 

 

I want to be able to find the properties in "Listing Table" which are listed on the market for less than 70% of their comparable property sales in "Comparables Table".

 

Listings Table: Contains all properties on the market (MLS).

Comparables Table: Contains the properties sold in last 3 months in the same city.

 

How to find comparable properties in "Comparables Table":
1. Properties on "Comparables Table" within 1/2 mile driving distance of properties on "Listings Table". Calculate driving distance using LAT/LONG or Google Maps API.
2. Properties with similar "SQUARE FEET" when compared to properties on "Listings Table" with +/- 100 SQUARE FEET in variation.
3. Properties with same BEDS and BATHS. Round up baths, e.g. 1.25, 1.5 or 1.75 is 2.

 

Calculate Comparable property sales: Mode of sale PRICE. Default to MEDIAN price.

1 REPLY 1
vivran22
Community Champion
Community Champion

Hey @Anonymous 

 

Can you share the sample data file/pbix file for this, along with expected outcome?

 

Cheers!
Vivek

Blog: vivran.in/my-blog
Connect on LinkedIn
Follow on Twitter

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.