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 dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Good morning,
please l'm using the the DAX function SELECTCOLUMNS to keep two columns from a table. But the problem is that, but the two columns are given in the result in an order that does not suit me. I don't know how to put my two columns in the right order.
Thanks for your help.
Please see below the DAX query used:
Thanks! It should be first but it isn't 😒
Hi @Anonymous,
In fact, the power bi data model tables do not include any row and column index. So the current table column orders are pre-rendered by the power bi data model and they may be changed if any update or change at the backend data loading.
Did you do any changes to your formula? The generated data table structure will be fixed and they not update when you do some small changes. (e.g. change two columns order)
For this scenario, you can backup your formula and manually do some big changes to force update the table structure.
For example:
change table formula to blank and apply the change, then paste raw DAX formula to force re-active to update table structure.
TABAbsent1monthJan22InnerJoin = {0}
Regards,
Xiaoxin Sheng
User | Count |
---|---|
22 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
13 | |
11 | |
9 | |
6 |