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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Orange2045
Helper I
Helper I

How to filter le account numer begin with 6 or 7

Dear all,

we have balance account number begin with all the number from 1 to 9.

 

how can i filtre only the numbers begin with 6 and 7?

 

In the table, i choosed the format as Text.

Orange2045_0-1686317453569.png

Thank you for the help, 

 

b regards, 

 

Ariane

 

 

1 ACCEPTED SOLUTION
NaveenGandhi
Super User
Super User

Hello @Orange2045 
Use the below Dax to create a column, You can user this as a filter.
Flag =
IF (
OR (
LEFT ( table[Bal_Account_No], 1 ) = "6",
LEFT ( table[Bal_Account_No], 1 ) = "7"
),
1,
0
)
Let me know if this helps!

If this post helps, then please consider Accept it as the solution to help the others find it more quickly. Appreciate you kudos!!

View solution in original post

1 REPLY 1
NaveenGandhi
Super User
Super User

Hello @Orange2045 
Use the below Dax to create a column, You can user this as a filter.
Flag =
IF (
OR (
LEFT ( table[Bal_Account_No], 1 ) = "6",
LEFT ( table[Bal_Account_No], 1 ) = "7"
),
1,
0
)
Let me know if this helps!

If this post helps, then please consider Accept it as the solution to help the others find it more quickly. Appreciate you kudos!!

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.