Forum Discussion
Omega
6 years agoImpactful Individual
Multi aggregation for last date that has data
Hi, I am connected to SSAS (live connection) and can't do changes to the model by creating columns. I have the below tables with follwing connection: Factor Master [Customer Code] ...
- 6 years ago
Hi Omega ,
You could create a new measure to sum your Measure 3.
Measure 4 = VAR _table = ADDCOLUMNS ( CROSSJOIN ( VALUES ( 'Customer Master'[Customer] ), VALUES ( 'Customer Master'[City] ) ), "v", [Measure 3] ) RETURN SUMX ( _table, [v] )I cannot follow your measures to get the result, so I made some changes in these measures.
Here is the result.
Here is the test file for your reference.
v-eachen-msft
6 years agoCommunity Support
Hi Omega ,
You could create a new measure to sum your Measure 3.
Measure 4 =
VAR _table =
ADDCOLUMNS (
CROSSJOIN (
VALUES ( 'Customer Master'[Customer] ),
VALUES ( 'Customer Master'[City] )
),
"v", [Measure 3]
)
RETURN
SUMX ( _table, [v] )
I cannot follow your measures to get the result, so I made some changes in these measures.
Here is the result.
Here is the test file for your reference.
- Omega6 years agoImpactful Individual
Thanks a lot! It's been cracking my head for a while 🙂