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.
Can anyone help in converting the sql query to DAX for creating measures in power BI
select R.*
from APPS S
left Join APPREVIEW R on S.appname = R.appname
where S.appname = 'CANDY'
and R.appvalues > 50000
order by R.appvalues desc
Hi Roshawna,
You can use the same query in Advanced Editor to get this result. Since, PBI doesn't support left outer join to fetch the data based on left outer join.
Regards,
Pradeep
Hi @Anonymous I don't have the access to get the data using Advanced Editor , though I am working with the already published reports.
Is there any other way.
Hi Roshawna,
This is also possible in DAX.
By using NATURALLEFTOUTERJOIN([APPS],[APPREVIEW]) you can do the left outer join query in DAX to get all the records from table 1 "APPS" and Matching records with table 2 "APPREVIEW".
Then, you can apply more filters on the Transformations or using Filters in Power BI.
Regards,
Pradeep
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
64 | |
63 | |
52 | |
39 | |
24 |
User | Count |
---|---|
80 | |
57 | |
45 | |
44 | |
35 |