Forum Discussion

Cookistador's avatar
Cookistador
Icon for Super User rankSuper User
2 years ago
Solved

LOD (tableau) into Power BI?

Hello everyone,

 

I'm working on a migration from tableau to Power BI, and I'm stucked on a measure for a few hours

This is the measure I have in tableau:

SUM({INCLUDE [Security] : SUM([Amount])^2}) / SUM([Amount])^2


I'm stuck in the first part with the ², without it I'm able to reach the results I need via SUMX and Values(Security) but once I add the ^2, it returns me weird values
I also tried with ALL and ALLEXECPT but I'm not able to return the correct value

 

Any idea of how could I achieve that?

3 Replies