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
Andybr
Frequent Visitor

Address find number

Hi,

 

I have an 'address 1' column with values as follows:

 

1 Main Street

100 Main Road

Avenue

Boulevard

 

I want to be able to flag the addresses which don't start with a number, so 'Avenue & Boulevard' above - can this be done using DAX?

 

Thanks,

 

Andy

3 REPLIES 3
harshnathani
Community Champion
Community Champion

Hi @Andybr ,
 
You can create a Calculated Column.
 
Assuming that the address in Text DataType
 
Column = IF(LEFT('Table'[Name],1) IN {"1","2","3","4","5","6","7","8","9","0"},"starts with Number","does not start with number")
 
 

Regards,
Harsh Nathani

Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)

az38
Community Champion
Community Champion

Hi @Andybr 

create a column

Column = IF(ISERROR(VALUE(LEFT([Address 1],1))), TRUE(), FALSE())

and filter by Column = True


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
Andybr
Frequent Visitor

Appreciated - thanks @az38 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

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

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.