The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi Team, I'm new to PBI, I need your help in below question,
I have a field called year_income, it contains values like $5000,$1200,$4500,etc.....
here my requirement is I want to create a column called Monthly_income, So my formuls was year_income/12, but I'm getting error because of year_income was in text datatype,
So could you please let me know how to convert year_income column to integer, or how to extract 5000,1200,4500,etc... without '$'
Thanks in advenaced
Solved! Go to Solution.
Here is a link to the Microsoft Learn article on type conversion.
https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-data-types
Proud to be a Super User! | |
Hi @nckchowdary,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.
Hi @nckchowdary,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
Hi @nckchowdary,
Thank you for posting your query in the Microsoft Fabric Community Forum, and thanks to @ZhangKun & @jgeddes for sharing valuable insights.
Could you please confirm if your query has been resolved by the provided solution? If so, please mark it as the solution. This will help other community members solve similar problems faster.
Thank you.
Here is a link to the Microsoft Learn article on type conversion.
https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-data-types
Proud to be a Super User! | |
Thank you
Replace $ first, then convert to currency type(fixed decimal number)