Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I am trying to calculate a measure using below formula , But its not filtering properly
NOT EQUAL OPERATOR<> Not giving desired output
Please advice thanks
Franchise = CALCULATE(
SUM('Model'[Sales]),
FILTER(
'Model',
('Model'[Store] = "1" && 'Model'[AccountID] <> "11435") ||
('Model'[Store] = "2" && 'Model'[AccountID] <> "15663") ||
('Model'[Store] = "3" && 'Model'[AccountID] <> "9863") ||
('Model'[Store] = "4" && 'Model'[AccountID] <> "9483") ||
('Model'[Store] = "5" && 'Model'[AccountID] <> "11435" )||
('Model'[Store] = "1" && 'Model'[AccountID] <> "8351") ||
('Model'[Store] = "3" && 'Model'[AccountID] <> "9288") ||
('Model'[Store] = "4" && 'Model'[AccountID] <> "9288") ||
('Model'[Store] = "5" && 'Model'[AccountID] <> "8351") ||
('Model'[Store] = "1" && 'Model'[AccountID] <> "4378") ||
('Model'[Store] = "2" && 'Model'[AccountID] <> "4378") ||
('Model'[Store] = "3" && 'Model'[AccountID] <> "8411") ||
('Model'[Store] = "4" && 'Model'[AccountID] <> "8411") ||
('Model'[Store] = "5" && 'Model'[AccountID] <> "4378") ||
('Model'[Store] = "6" && 'Model'[AccountID] <> "4378" )
)
)
Solved! Go to Solution.
Please help which opertor to be used if arguement to be filtered is set as "Text". Operator "< >" is not working for filtering @ "Not Equal to".
Thansk in advance
Thanks for your help @GilbertQ it worked when I changed data type of parent id, FROM TEXT TO WHOLENUMBER
Thanks
Mazhar
User | Count |
---|---|
98 | |
91 | |
84 | |
71 | |
67 |
User | Count |
---|---|
114 | |
103 | |
100 | |
72 | |
64 |