Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
How to write Dax expression in Power BI from the given SQL:
select
--Job_ID,
-- Run_ID,
CREATED_DATE_TIME ,
Data_domain ,
Field_Name ,
rule_name ,
rule_description,
check_name,
check_description,
check_value,
severity,
dataset_count,
count(1) as ValidationFails
from DATA_QUALITY.RESULTS_VIEW
WHERE 1=1
AND Data_domain = 'ny_medclaim_details'
and to_date(created_date_time) = '2022-10-20'
AND CHECK_NAME = 'lengthCheck'
GROUP BY
-- Job_Id,
-- Run_ID,
CREATED_DATE_TIME ,
Data_domain ,
Field_Name ,
rule_name ,
rule_description,
check_name,
check_description,
check_value,
severity ,
dataset_count
ORDER BY 1
Hi! @Anonymous
It is possible to achieve the solution with DAX but it cannot be equivalent to an SQL query. Please share the expected solution that you want to achieve with the data.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
47 | |
26 | |
19 | |
15 | |
10 |
User | Count |
---|---|
57 | |
50 | |
44 | |
21 | |
19 |