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.
Hi Everyone,
I am importing an Excel file from sharepoint. In the table the field that i need to import have a custom format :
#,##0,_);(#,##0,);_ * - ??_
So it means that appears 5,286 instead of 5,286,584.
The problem is that when power query import this number, it import it like 5,286 so i am losing the millions number.
how can i solve that without touching the excel file ?
Thanks,
Avy
Sorry do not know.
Hi @menphis21 ,
Please have a try.In Power Query Editor, select the column that contains the custom format.
After you replace the values, you can change the data type of the column to "Whole Number" or "Decimal Number" to include the millions number. You can also use the "Round" function in Power Query to round the numbers to the nearest whole number.
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
HI @Anonymous
Thanks for your help. It does not work.
But when I wanted to create an example file for you to send to you, I created a tab copied to a new Excel file and imported it to powerbi to reverify and it works with the correct format without making any changes.
When I import the original file, it still doesn't work.
Of course, i cannot change the original file
@Anonymous @Idrissshatila @amitchandak @Ritaf1983 @Greg_Deckler @lbendlin @Ahmedx
Please help
User | Count |
---|---|
78 | |
77 | |
37 | |
33 | |
31 |
User | Count |
---|---|
92 | |
81 | |
58 | |
48 | |
48 |