Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Can any one convert sql query into dax please,
SELECT SUM(
CASE
WHEN vis.CODTYPSUR = par.valpar and vis.CODSTA= 5 THEN
1
ELSE
0
END
) ND,
vis.CODD
FROM dbo.TA vis
INNER JOIN (
SELECT CODD
,VALPAR
FROM dbo.T0
WHERE codpar = 'DE'
) par ON (vis.CODD = par.CODD)
WHERE vis.flgann = 0 and vis.CODSTA in (5,6)
GROUP BY vis.CODD
Thanks in advance
Hi @Anonymous ,
Could you please share some sample data to us for analysis? We need to know the schema of tables.
Best Regards,
Teige
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.