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.
Hi everyone, I need your help once again.
Im trying to create a calculated column that would do something like this:
Im trying to get the distinct sum of the values based on the distinct index and activity while disregarding the activities AA and CC. (Not sure if I made sense. haha) Basically, I want the values to only be summed once for each index and activity while still filling up all the rows.
Thank you,
Solved! Go to Solution.
Hi @Anonymous ,
Please create the calculated column with the formula below.
Column = VAR t = SUMMARIZE ( FILTER ( Table1, NOT ( [Active] IN { "AA", "CC" } ) && [Index] = EARLIER ( Table1[Index] ) ), [Active], [Active Value] ) RETURN SUMX ( t, [Active Value] )
Here it the output.
Best Regards,
Cherry
Hi @Anonymous ,
Please create the calculated column with the formula below.
Column = VAR t = SUMMARIZE ( FILTER ( Table1, NOT ( [Active] IN { "AA", "CC" } ) && [Index] = EARLIER ( Table1[Index] ) ), [Active], [Active Value] ) RETURN SUMX ( t, [Active Value] )
Here it the output.
Best Regards,
Cherry
Thank you so much @v-piga-msft ! it worked perfectly!
@v-piga-msft wrote:Hi @Anonymous ,
Please create the calculated column with the formula below.
Column = VAR t = SUMMARIZE ( FILTER ( Table1, NOT ( [Active] IN { "AA", "CC" } ) && [Index] = EARLIER ( Table1[Index] ) ), [Active], [Active Value] ) RETURN SUMX ( t, [Active Value] )Here it the output.
Best Regards,
Cherry
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
100 | |
77 | |
76 | |
52 |
User | Count |
---|---|
144 | |
109 | |
108 | |
88 | |
61 |