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.
Hi Experts
How would you edit the following formula to count only Distinct items nested within the containsrow function...
OHA_OHP = CALCULATE(COUNTROWS(Data),FILTER(Data,Data[CaseType]="Face to Face"), DISTINCTCOUNT(Data[WorkType]),CONTAINSROW({"IMA OHP OffSite","OHP OnSite","IMA Network OHP","OHP Review 30 Minutes", "OHP Case Teleconference call (40 mins)"},FME_Data[WorkType]))
FME_Data[WorkType])) this should be Data[WorkType])) ignore.....error on my part..
Hi Route11,
Try DAX below and check if it can work.
OHA_OHP = CALCULATE ( DISTINCTCOUNT ( Data[WorkType] ), FILTER ( Data, Data[CaseType] = "Face to Face" && CONTAINSROW ( { "IMA OHP OffSite", "OHP OnSite", "IMA Network OHP", "OHP Review 30 Minutes", "OHP Case Teleconference call (40 mins)" }, FME_Data[WorkType] ) ) )
Regards,
Jimmy Tao
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 |
---|---|
111 | |
95 | |
80 | |
68 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |