The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Power query não reconhece números decimais da tabela de origem (estão separados por vírguma). Transfoma em números inteiros e não traz todos os registros da tabela. Está havendo perda de dados. Como resolver?
Solved! Go to Solution.
Hi @Roberia ,
Thanks for reaching out to us with your problem. Base on your description, it seems that Power Query is not recognizing decimal numbers from the source table because they are separated by a comma instead of a period. This is causing Power Query to transform them into integers and lose data in the process. Please follow the steps to do it and check if it can change it to the updated data type. You can find the details in the attachment.
1. Replace "," with "." in Power Query Editor
= Table.ReplaceValue(Source,",",".",Replacer.ReplaceText,{"Number"})
2. Change the data type of number field as "Decimal Number"
Best Regards
Hi @Roberia ,
Thanks for reaching out to us with your problem. Base on your description, it seems that Power Query is not recognizing decimal numbers from the source table because they are separated by a comma instead of a period. This is causing Power Query to transform them into integers and lose data in the process. Please follow the steps to do it and check if it can change it to the updated data type. You can find the details in the attachment.
1. Replace "," with "." in Power Query Editor
= Table.ReplaceValue(Source,",",".",Replacer.ReplaceText,{"Number"})
2. Change the data type of number field as "Decimal Number"
Best Regards
User | Count |
---|---|
27 | |
12 | |
8 | |
7 | |
5 |
User | Count |
---|---|
31 | |
15 | |
12 | |
7 | |
6 |