Hi,
I created a measure to countrows using search to return part of a text which is working fine but I wan't to add to this measure to also count values from another column based on criteria that it does not equal blank. Here is the dax formula:
TotalPOBoxAccepScan:=CALCULATE(COUNTROWS(FILTER('DistProfile v1-3',SEARCH("PO BOX",'DistProfile v1-3'[Dest_Address],1,0)>0))&&FILTER('DistProfile v1-3','DistProfile v1-3'[Acceptance]<>BLANK()))
The error I get is "Semantic Error: The expression refers to multiple columns. Multiple columns cannot convert to a scalar value"
Appreciate any feedback.
Thanks
I created a measure to countrows using search to return part of a text which is working fine but I wan't to add to this measure to also count values from another column based on criteria that it does not equal blank. Here is the dax formula:
TotalPOBoxAccepScan:=CALCULATE(COUNTROWS(FILTER('DistProfile v1-3',SEARCH("PO BOX",'DistProfile v1-3'[Dest_Address],1,0)>0))&&FILTER('DistProfile v1-3','DistProfile v1-3'[Acceptance]<>BLANK()))
The error I get is "Semantic Error: The expression refers to multiple columns. Multiple columns cannot convert to a scalar value"
Appreciate any feedback.
Thanks
