Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
SELECT ROUND(CAST(SUM(ctScanAbort) as float) /747683, 3)
FROM [PetData].[dbo].[MachineKPI]
WHERE fk_machine IN (Select m.id from [PetData].[dbo].Machine m
INNER JOIN Country c ON m.fk_country = c.id WHERE m.active = 1 and c.reporting = 1 and fk_platform = 4) AND ctScanAbort IS NOT NULL;
Can someone help me out in converting this sql query to Dax,
I tried this out but it shows error :
Hi @Anonymous in part TotalCtScanAbort part 'FSMachineKPI'[fk_machine] IN VALUES ( FilteredMachineIDs )
try to replace with FilteredMachineIDs and see results
Proud to be a Super User!
Hi @Anonymous Idea for you: AI
Proud to be a Super User!
Tried out ChatGpt but it still dosent work
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 20 | |
| 12 | |
| 11 |