cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

How Convert this Sql to Dax ?

sql.png

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User IV
Super User IV

@msit19, you can try a new table as

nueva tabla ?
var _tab1 - summarize(filter(Tab1, Tab1[FLD] á"XX"),Tab1[ID])
var _tab3 - summarize(filter(Tab3, Tab3[ID] en tab1),Tab1[ID])
devolución
filter(Tab2, not(Tab2[FLD1] en _tab3))

o nueva medida como
nueva medida ?
var _tab1 - summarize(filter(Tab1, Tab1[FLD] á"XX"),Tab1[ID])
var _tab3 - summarize(filter(Tab3, Tab3[ID] en tab1),Tab1[ID])
devolución
countx(filter(Tab2, not(Tab2[FLD1] en _tab3)), Tab2[ID])



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

2 REPLIES 2
Highlighted
Super User IV
Super User IV

@msit19, you can try a new table as

nueva tabla ?
var _tab1 - summarize(filter(Tab1, Tab1[FLD] á"XX"),Tab1[ID])
var _tab3 - summarize(filter(Tab3, Tab3[ID] en tab1),Tab1[ID])
devolución
filter(Tab2, not(Tab2[FLD1] en _tab3))

o nueva medida como
nueva medida ?
var _tab1 - summarize(filter(Tab1, Tab1[FLD] á"XX"),Tab1[ID])
var _tab3 - summarize(filter(Tab3, Tab3[ID] en tab1),Tab1[ID])
devolución
countx(filter(Tab2, not(Tab2[FLD1] en _tab3)), Tab2[ID])



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

Highlighted

thanks 🙂

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Community Conference

Microsoft Power Platform Communities

Check out the Winners!

secondImage

Create an end-to-end data and analytics solution

Learn how Power BI works with the latest Azure data and analytics innovations at the digital event with Microsoft CEO Satya Nadella.

Top Solution Authors
Top Kudoed Authors