how to convert to dax measure below sql query..thank you
select count(Encounter_No) as CASH_IPD from ( select distinct Encounter_No, –Registration_No, –Company_Code, –Doctor_Code, Payment_TypeName, InvoiceNo from BI_OSR_Revenues where Tran_Month = 3 and Tran_Year = 2022 and Payment_TypeName = ‘CASH (IPD)’ and isnull(admission_Date,”) <> ” ) as t1
—————————— Ronie Soriano ——————————
Tomas Torp
Member
October 18, 2022 at 6:42 AM
I think this measure should give you the same result. You might want to remove KEEPFILTERS if you want the filter arguments in the CALCULATE-function to override external filters instead of adding to them, and you might want to remove some of the filter arguments completely from the measure and control those filters with a slicer instead:
Please note:
This action will also remove this member from your connections and send a report to the site admin.
Please allow a few minutes for this process to complete.
Report
You have already reported this .
Welcome to our new site!
Here you will find a wealth of information created for peopleĀ that are on a mission to redefine business models with cloud techinologies, AI, automation, low code / no code applications, data, security & more to compete in the Acceleration Economy!