Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I woul like to create a new value using the field GOO_MAJOR_REFERENCE but filtering it, I just need the data that are located before the "." of the reference.
How is that possible ?
Thanks
Solved! Go to Solution.
When you said the data before "." you didn't precise if it is to the LEFT or to the RIGHT.
You can use the following syntax to create your calculated column :
NewReference = LEFT('MyTable'[GOO_MAJOR_REFERENCE], FIND(".", 'MyTable'[GOO_MAJOR_REFERENCE])-1)
The error you are getting is related to an extra ) at the end.
Assuming this is the output you want :
You need to create a calculated column not a measure to achieve your result :
Thanks a lot for your feedback, Actually I need the data before the "." so I used left instead, but I get an error.
Is there something i'm doing wrong ?
When you said the data before "." you didn't precise if it is to the LEFT or to the RIGHT.
You can use the following syntax to create your calculated column :
NewReference = LEFT('MyTable'[GOO_MAJOR_REFERENCE], FIND(".", 'MyTable'[GOO_MAJOR_REFERENCE])-1)
The error you are getting is related to an extra ) at the end.
Sorry, the ")" was a mistake. I typed the right formula but still get an error ...
Is there something in the type of data (text, data, ... ) that i need to change ?
I reproduced the same thing :
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 |
---|---|
72 | |
70 | |
54 | |
38 | |
31 |
User | Count |
---|---|
78 | |
64 | |
64 | |
49 | |
45 |