Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
i need help with creating a new column of numeric values extracted from another column of numeric values using dax in powerbi desktop.
Solved! Go to Solution.
Hi @Chic ,
Thanks for reaching out to us with your problem. Base on your description, it seems that you are trying to create a calculated column which extract the numeric values from another column. You can create a calculated column as below to get it, please find the details in the attachment:
Column =
VAR _pos =
IFERROR ( SEARCH ( "-", 'CUSTOMER'[NetPromoterScore], 1, 0 ), 0 )
RETURN
VALUE ( RIGHT ( 'CUSTOMER'[NetPromoterScore], LEN ( [NetPromoterScore] ) - _pos ) ) //VALUE(LEFT([NetPromoterScore],_pos-1))
If the above one can't help you get the expected result, please provide some raw data in your table 'CUSTOMER' (exclude sensitive data) with Text format and your expected result with the specific examples and backend logic. It would be helpful to find out the solution. You can refer the following link to share the required info:
How to provide sample data in the Power BI Forum
And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
Hi @Chic ,
Thanks for reaching out to us with your problem. Base on your description, it seems that you are trying to create a calculated column which extract the numeric values from another column. You can create a calculated column as below to get it, please find the details in the attachment:
Column =
VAR _pos =
IFERROR ( SEARCH ( "-", 'CUSTOMER'[NetPromoterScore], 1, 0 ), 0 )
RETURN
VALUE ( RIGHT ( 'CUSTOMER'[NetPromoterScore], LEN ( [NetPromoterScore] ) - _pos ) ) //VALUE(LEFT([NetPromoterScore],_pos-1))
If the above one can't help you get the expected result, please provide some raw data in your table 'CUSTOMER' (exclude sensitive data) with Text format and your expected result with the specific examples and backend logic. It would be helpful to find out the solution. You can refer the following link to share the required info:
How to provide sample data in the Power BI Forum
And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
Unfortunately with so little details I'm not sure I understand what you're looking for.
Please read this: How To Get Your Question Answered Quickly .
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
10 | |
10 | |
9 | |
9 |
User | Count |
---|---|
20 | |
13 | |
12 | |
11 | |
8 |