Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin 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.
Hi,
If I'm grouping by some attribute in Power Query with an aggregation of row count, the default data type it automatically changes it to is a decimal - any way to get it to change to an integer automatically, seeing how I'm probably not going to be counting half a row any time soon?
Hi @jthomson
After "Groupby", you can click on "Detect data type", then it would transform to "whole number".
Best Regards
Maggie
Yes, I know I can change it after the event, but I need to click that every time I do such a transformation, I'm more thinking as to whether it can be configured to do that automatically, given there's no good reason for it to not select whole number by default
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
8 | |
6 | |
5 | |
5 | |
5 |
User | Count |
---|---|
10 | |
8 | |
6 | |
6 | |
6 |