Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I have a dimension with a lot of values.
The name of dimension is "DB_User_Name_Comb_Machine_Learning".
I need to exclude a value with the name "DB_User_Name"
In the expression I have used "not Match", but it doesn't work.
DB_User_Name_Comb_Machine_Learning If(not Match(DB_User_Name_Comb_Machine_Learning, 'DB_User_Name'),DB_User_Name_Comb_Machine_Learning)
Can you help me please?
Hi @Vegar
sorry, but i don't understand.
I've 1 dimension and 6 measures with its expressions
Should i add this code in all expressions of the measures?
{$<DB_User_Name_Comb_Machine_Learning-={"DB_User_Name"}>}
Then, I don't understand where I can add this code:
SUM({$<DB_User_Name_Comb_Machine_Learning-={"DB_User_Name"}>}AMOUNT)
Thanks
Hello Friend.
From what I understand, you're creating an expression to limit the content of your dimensions. As if it were a calculated dimension.
If yes, use the simple following formula:
If (DB_User_Name_Comb_Machine_Learning <> 'DB_User_Name', DB_User_Name_Comb_Machine_Learning)
Hi @Vegar
I can't add the code because there is an error.
This is the expression on the first measure
Count({<High_volume_Outlier_Comb_Machine_Learning={"True"}>}High_volume_Outlier_Comb_Machine_Learning) {$<DB_User_Name_Comb_Machine_Learning-={"DB_User_Name"}>}
Error into expression
Hi,
Please try below code in the expression editor to exclude DB_User_Name from DB_User_Name_Comb_Machine_Learning:-
if(DB_User_Name_Comb_Machine_Learning<>DB_User_Name,DB_User_Name_Comb_Machine_Learning)