TABLE CUSTOM_FIELDS IDĀ Ā Ā Ā NAME 1Ā Ā Ā Ā Ā LAST_NAME 2Ā Ā Ā Ā Ā AGE
I want to create a query that looks like this QUERY DATA IDĀ Ā Ā NAMEĀ Ā LAST_NAMEĀ Ā AGE 1Ā Ā Ā Ā JOĀ Ā Ā Ā Ā SMITHĀ Ā Ā Ā Ā Ā Ā 33 2Ā Ā Ā Ā SUEĀ Ā Ā Ā JONESĀ Ā Ā Ā Ā Ā Ā 22
Any ideas?Ā I am fairly new to Power BI – old hand at SQL,Ā In SQL I’d probably make the LAST_NAME and AGE fields sub-queries.Ā There are about 3-5 of these fields out of 20 or so.
Thanks very much
—————————— Robert Jolliffe President, Sabre Limited Cambridge 5195857524 ——————————
Vishesh Jain
Member
March 2, 2020 at 4:02 AM
Hi ,
Please have a look at the attached file.
I have merged all 3 queries into one, removed the unnecessary columns and pivoted a column, which you can see step by step in the query transformation.?
The query is named Merge1.
The same can be achieved by using the RELATED() DAX function in the table view, but from a performance perspective its better that its done in Power Query.
Hope this solves your problem.
Thank you,
—————————— Vishesh Jain Owner VR Construction —————————— ——————————————-
Please note:
This action will also remove this member from your connections and send a report to the site admin.
Please allow a few minutes for this process to complete.
Report
You have already reported this .
Welcome to our new site!
Here you will find a wealth of information created for peopleĀ that are on a mission to redefine business models with cloud techinologies, AI, automation, low code / no code applications, data, security & more to compete in the Acceleration Economy!