Forum Discussion
Wrong Total
Hi ,try below measures
Measure 1:
In this measure, the main issue is with the SUMMARIZE function. The SUMMARIZE function is used to group and summarize data, but in your case, it doesn't seem necessary. Instead, you can directly calculate the F_Val and return it as the measure value.
Here's an updated version of Measure 1:
Measure 2:
Measure 2 seems fine, as it calculates the appropriate value based on the condition. However, make sure you have the correct column names (val1 and val2) in your actual table.
Measure 3:
In Measure 3, you are using F_Val in the SUMMARIZE function, but F_Val is not defined in this measure. Also, the condition HASONEVALUE(TB[ColumnA]) won't work as expected because the ColumnA is part of the SUMMARIZE function, and it will always have multiple values.
Here's an updated version of Measure 3:
Anonymous