Forum Discussion
Anonymous
5 years agoNot applicable
SUMX over dimension table
Hello, im trying to optimize my sumx measure. my goal is to use a table that has fewer rows to make my iteration measure efficient. In my example, i have a trial balance which is my fact table contai...
- 5 years ago
Hi Anonymous ,
Two things to get the same result in both measures:
1. A change at the end of your measure:
TestSumxfromacctytype := SUMX ( 'Account Type', IF ( 'Account Type'[Account Type] = "PL", CALCULATE ( SUM ( TB[amount] ) ), CALCULATE ( SUM ( TB[amount] ) * -.3, REMOVEFILTERS ( Glmapping ), VALUES ( Glmapping[Company Code] ) ) ) )2. In your visual slice by the dimensions at the one side of the relationship with your GLmapping table.
Regards,
Payeras_BI
Solution Sage
5 years agoRe: "I do have a sample file how do i attach in this message?"
You can use a onedrive, google drive or similar link to upload your files.