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.
Hi all,
I would like to use the column names of other tables. For example:
Table1
Field1, Field2
value1, value2
I want to get the values Field1 and Field2.
Do you know how to do that?
Thank you
Solved! Go to Solution.
Not sure you can do that with DAX, but you can access the column names with Table.ColumnNames in the query editor. You can then access them with a position reference like Table.ColumnNames(#"Changed Type"){1} to get the name of the second column (counting starts at 0).
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Not sure you can do that with DAX, but you can access the column names with Table.ColumnNames in the query editor. You can then access them with a position reference like Table.ColumnNames(#"Changed Type"){1} to get the name of the second column (counting starts at 0).
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
You an use DAX stdio to get all field and table related information.
and fire this query :
Select * from $SYSTEM.MDSCHEMA_MEASURES
User | Count |
---|---|
22 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
12 | |
11 | |
7 | |
6 |