Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hello community,
In my data there is one row where amount is zero. I want to remove this row in Power Query Editor because this is not required.
I know it is just one row so removing it will not have much effect on size of data model.
But I want this because when viewing column profile, Min value is shows zero which is incorrect.
It is true that if I want to know the minimun amount, I can sort the column with ascending order and see. But I was hoping if it can be corrected so that column profile shows the real Min value.
Thanks
Solved! Go to Solution.
Create following DAX measure in your report.
MinimumAmountGreaterThanZero = MINX(FILTER('YourTableName', 'YourTableName'[Amount] > 0), 'YourTableName'[Amount])OR
You can also achive the removal of zero records in the power query by following below steps:
In Power BI Desktop, go to the "Home" tab.
Click on "Edit Queries" to open the Power Query Editor.
In the Power Query Editor:
In the filter dialog box:
Close the Power Query Editor and apply the changes.
Create following DAX measure in your report.
MinimumAmountGreaterThanZero = MINX(FILTER('YourTableName', 'YourTableName'[Amount] > 0), 'YourTableName'[Amount])OR
You can also achive the removal of zero records in the power query by following below steps:
In Power BI Desktop, go to the "Home" tab.
Click on "Edit Queries" to open the Power Query Editor.
In the Power Query Editor:
In the filter dialog box:
Close the Power Query Editor and apply the changes.
Thanks elvin for reply.
Actally, I just had to unselect that particular row in Power Query.
This will ensure column profile shows correct statistics and also that particular row will not load into data model.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.