Forum Discussion
LOD fixed Expression from Tableau
I'm trying to get an average value based on these 6 dimensions. The goal is to take the "RP nach Retax" column, get the sum and then compare that sum to the a different aggregation, based on the 6 columns mentioned in the fixed statement. (these later mentioned aggregation is what I gave you as the tableau/DAX statement.
Hi, Anonymous
You can refer to this demo.
Try to divide the measure into multiple measures similar to the following:
Total Amount = CALCULATE(SUM('Table'[Amount]),ALLEXCEPT('Table','Table'[Color],'Table'[Country],'Table'[Type]))
Rows = COUNTROWS(SUMMARIZE('Table','Table'[Color],'Table'[Country],'Table'[Type]))
measure = 'Table'[Total Amount]/[Rows]
The result will be similar to the following:
If it doesn't meet your requirement ,please explain it more.
Sharing some sample data and expected result in excel will be helpful to solve your problem.
Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.