79215882

Date: 2024-11-22 16:55:56
Score: 1.5
Natty:
Report link

To create a calculated column in MAIN_TABLE that sums the AMOUNT from the related DATA_TABLE , grouped by value in the color column . Here's an example of how to create the calculated column : Total_Amount_By_Color = CALCULATE( SUM(RELATED(DATA_TABLE[AMOUNT])), FILTER( DATA_TABLE, DATA_TABLE[color] = MAIN_TABLE[color] ) )

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Navneet Singh