cancel
Showing results for
Did you mean:

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Anonymous
Not applicable

## SUMX of the MAXX variable

Hello everyone,
I don't find the solution. I want to calculate a Regression. I want to know how i can calculate the SUMX of MAXX.

Maybe you find a way?
Best regards

=VAR FilterRow = FILTER('Query_NIKKEI_225';'Query_NIKKEI_225'[timestamp]=EARLIER('Query_NIKKEI_225'[timestamp]) && EARLIER('Query_NIKKEI_225'[Differenz Datum])>=0) VAR FilterRow2 = FILTER('Query_NIKKEI_225';EARLIER('Query_NIKKEI_225'[Differenz Datum])>=0) VAR yStern =MAXX(FilterRow;LN(Query_NIKKEI_225[(high + low )/2])) VAR ySternQuer = AVERAGEX(FilterRow2;LN(Query_NIKKEI_225[(high + low )/2])) VAR ySternMinusySternQuer = MAXX(FilterRow;yStern-ySternQuer) VAR xStern =MAXX(FilterRow;'Query_NIKKEI_225'[Rang Datum]) VAR xSternQuer = AVERAGEX(FilterRow2;'Query_NIKKEI_225'[Rang Datum]) VAR xSternMinusxSternQuer = MAXX(FilterRow;xStern-xSternQuer) VAR xMinusxQuerMalySternMinusySternQuer=MAXX(FilterRow;xSternMinusxSternQuer*ySternMinusySternQuer) Return SUMX(FilterRow2;CALCULATE(MAXX(FilterRow;xSternMinusxSternQuer*ySternMinusySternQuer)))

0 REPLIES 0

Announcements

#### Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

#### Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

#### Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors