Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Solved! Go to Solution.
Hi @abc_777 ,
The calculated columns are not visible in the Power Query Editor. You can create the custom column in Power Query and then filter for rows with a value of 1.
CustomColumn = if Text.Length([MOBILE_NO]) = 11 then 1 else 0
Or create a calculated column and then filter.
CalculateColumn = IF ( LEN ( [MOBILE_NO] ) = 11, 1, 0 )
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @abc_777 ,
Try the following steps:
1. create a measure and return length of MOBILE_NO field.
Result_variable= Len(Mobile_No)
2. create a conditional column - If (Result_variable = 11, 1, 0)
Flag = IF(values(Result_variable) = 11, 1, 0)
3. Put a filter on your visual which says Flag = 1
use visual level filter - basic filtering and select 1
this will filter only those numbers which are having 11 digit mobile number.
If this solution helps you, then please mark it as a solution and hit the thumbs up. Thank you.
Regards,
TruptiS
hi @truptis ,
I have created new column but when i go to transform and not see my newly created column so i cant go further
2. create a conditional column - If (Result_variable = 11, 1, 0)
Flag = IF(values(Result_variable) = 11, 1, 0)
3. Put a filter on your visual which says Flag = 1
use visual level filter - basic filtering and select 1
thanks
Hi @abc_777 ,
The calculated columns are not visible in the Power Query Editor. You can create the custom column in Power Query and then filter for rows with a value of 1.
CustomColumn = if Text.Length([MOBILE_NO]) = 11 then 1 else 0
Or create a calculated column and then filter.
CalculateColumn = IF ( LEN ( [MOBILE_NO] ) = 11, 1, 0 )
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
What an awesome solution ,👍
Hi,
I have column that doesnt have 11 digit phone number. and i want to pick only field that has 11 digits mobile number
not empty or only one or two digit in that field.
what would be the measure.
I know I have wrong to following measure. please correct me just to pick value which has 11 disig mobile numbers only to show on card
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
105 | |
96 | |
79 | |
66 | |
62 |
User | Count |
---|---|
145 | |
113 | |
105 | |
85 | |
65 |