Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Subquery and having clause in power bi dax

Please I need help writing this sql query to dax format
select count (a.id) from
(select count(d.empId), d.id from table1 d
join table1 fs
on fs.id = d.id
join dateTable dd
on dd.id = fs.date_id
where fs.q3 = 'TRUE'
group by d.id
having count(d.d.empId) = 1 ) a;

Thanks for your help

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I was able to solve this myself using SUMMARIZE function to create a virtual table and filter the table.
Thanks

View solution in original post

1 REPLY 1
Anonymous
Not applicable

I was able to solve this myself using SUMMARIZE function to create a virtual table and filter the table.
Thanks

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.