Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hellou, i have downloaded data (json data) from web into power bi (import data source) and when i combine two and more table from these sources in power query => these source want to connect to web sources and again donwload data, but when i do it in powe r bi with function UNION - these sources don ´t want to connect....could somebody explain it to me. Thank you in advance.
Solved! Go to Solution.
Right, in DAX, the data is already loaded into the model so no need to go get the data. Power Query is all about loading data into the model so it tends to reach out to the source data.
Right, in DAX, the data is already loaded into the model so no need to go get the data. Power Query is all about loading data into the model so it tends to reach out to the source data.
Greg, can you please indicate how to achieve this with DAX, or point me at a link that does. I have the same issue of getting WebContent in Power Query that breaks my sync while trying to get user profile images from O365, so I want to move that to DAX to prevent the refresh failure.
This is what I use in PowerQuery
= Table.AddColumn(#"Added O365 Account", "Profile Image", each Web.Contents("https://outlook.office365.com", [RelativePath="/ews/Exchange.asmx/s/GetUserPhoto", Query=[email=[O365], size="HR120x120"]]))
= Table.TransformColumnTypes(#"Added Profile Image",{{"Profile Image", type text}})
= Table.TransformColumns(#"Changed Binary to Text", {{"Profile Image", each "data:image/jpeg;base64, " & _, type text}})
= Table.ReplaceErrorValues(#"Added Prefix", {{"Profile Image", "https://via.placeholder.com/100x100.jpg?text=No+Image"}})
@Juliecal73 - DAX cannot retrieve data. DAX just creates columns, measures and tables from existing data.
Okay, so are there any suggestions of other ways way around it?
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
9 | |
6 | |
6 | |
6 | |
6 |
User | Count |
---|---|
9 | |
9 | |
8 | |
6 | |
6 |