I am trying to make some cubes and have two problems:

1. I need to have a measure that counts the number of sale lines.

2. I need to have a measure that has the distinct count information of order numbers, but I don't want to have a dimension called orderNO.

I really