That's great thank you !!
I have a lot of others dimension in my real report, is there any limitation on the numbers of dimension I can add to the formula?
There isn't a limit. I wouldn't add every single dimension in the data set, only those that I need to filter on. An alternative can also be to use the other LOD expressions (INCLUDE and EXCLUDE) which will be dynamic based on the dimensions used in the view. These are 2 resources about LODs that might help: