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.
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 |
---|---|
14 | |
11 | |
7 | |
7 | |
7 |
User | Count |
---|---|
22 | |
22 | |
12 | |
10 | |
7 |