The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now
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.
Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.
User | Count |
---|---|
158 | |
109 | |
96 | |
83 | |
75 |
User | Count |
---|---|
154 | |
137 | |
131 | |
81 | |
62 |