Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 17 | |
| 9 | |
| 9 | |
| 7 | |
| 7 |