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 September 15. Request your voucher.
I want to delete all the rows from table except first row.
i.e I want to keep first row in my table and delete all other rows.
Is there is any way to do this
Solved! Go to Solution.
You can do that in Power Query. Home | Keep Rows | Keep Top Rows.
Click EDIT QUERIES....
Once in the Power Query Editor, select the table you want to limit the number of rows being returned.
On the ribbon, look for KEEP ROWS.
Here is a good reference: https://www.c-sharpcorner.com/article/variable-in-dax-keep-rows-and-remove-rows-in-power-bi/
You can do that in Power Query. Home | Keep Rows | Keep Top Rows.
User | Count |
---|---|
58 | |
56 | |
55 | |
50 | |
32 |
User | Count |
---|---|
172 | |
89 | |
70 | |
46 | |
45 |