Forum Discussion
romovaro
Responsive Resident
4 years agoDax formula comparing 2 columns
Hello I have the Below table: Name Project Manager / Coordinator Implementation Consultant Regional PM Country Long Name CID CUID Client A Dorottya Fernabdez France NCPF ...
- 4 years ago
Hi romovaro ,
Hope I understand correctly. Please try to create the following measures:
S1 = CALCULATE(COUNT('Table'[CUID]),FILTER('Table','Table'[Project Manager / Coordinator]='Table'[Regional PM]&&'Table'[Project Manager / Coordinator]<>"")) S2 = CALCULATE(COUNT('Table'[CUID]),FILTER('Table','Table'[Regional PM]=""&&'Table'[Project Manager / Coordinator]<>"")) S3 = CALCULATE(COUNT('Table'[CUID]),FILTER('Table','Table'[Regional PM]<>'Table'[Project Manager / Coordinator]&&'Table'[Regional PM]<>"")) S4 the same as S3 S5 = CALCULATE(COUNT('Table'[CUID]),FILTER('Table','Table'[Regional PM]=""&&'Table'[Project Manager / Coordinator]=""))
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Ashish_Mathur
Super User
4 years agoHi,
Please show your expected result.