Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi Folks,
I want to change the datasource from xlsx to json, but getting error. Can any one give me solution on this.
Regards,
Pratik.S
Solved! Go to Solution.
Hi @UI .
Copy the .json code into a notepad and click on save as and save the file as .json.
Let me know if that works.
Thanks,
Sanket.
If this post helps, then mark it as 'Accept as Solution' and give it a thumbs up.
Hi @UI .
Copy the .json code into a notepad and click on save as and save the file as .json.
Let me know if that works.
Thanks,
Sanket.
If this post helps, then mark it as 'Accept as Solution' and give it a thumbs up.
Thanks sanket.
Regards,
Pratik
I suggest you keep the original Query with Excel as a source, and proceed as follows in a duplicate PBIX file to make sure you don't mess the original file.
In the new PBIX, create a new Query using the json file and change the names of the columns to reflect the exact same transformations and column names in the Excel query. Once you have completed it, copy the M-Code from the Json Query (which you access through the Advanced Editor under Home in the ribbon), go to the Excel Query's Advanced Editor and paste the copied code over the original code to repplace it. Check the integrity of measures etc...Once everyting is fine, you can delete the Json Query and save the duplicate file with the same name of the original PBIX to replace it.
Proud to be a Super User!
Paul on Linkedin.
@UI , Double Click on "Source" option and change the file path.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
97 | |
85 | |
70 | |
61 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |