Forum Discussion
Convert text with commas into value
- 7 years ago
Oh, I guess I misunderstood. Then replace "," with "." instead of blank.
So, are you saying that the commas in your case are decimals? So that 100,00 should be 100.00?
100,00 should be 100 and 99,85 should be 99,85 and not 9985 for example. The commas disappear at all
- Chihiro7 years agoSolution Sage
Oh, I guess I misunderstood. Then replace "," with "." instead of blank.
- Anonymous7 years agoNot applicable
I've used several formulas to reach my final goal, and I was successfull, thank you guys
Test = VALUE(if(find(",";Production[PRODUCTION EBITDA YTD];1;0)>0;replace(Production[PRODUCTION EBITDA YTD];find(",";Production[PRODUCTION EBITDA YTD];1;0);1;".");Production[PRODUCTION EBITDA YTD]))
Best regards
- Avadobreva4 years agoNew Member
This one comment saved my life today. Thanks man!
- Greg_Deckler7 years agoCommunity Champion
These are always tough because I really can't play with the regional language settings which I believe handle things like decimals and dates in different formats. Sounds like your's might be set to English perhaps? Seems like if you had the right regional settings that Power BI would recognize those commas as decimals and convert them correctly to numbers by just changine the type.