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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.