Forum Discussion
Anonymous
1 year agoNot applicable
Weightage based on unique value
Hi all, any advice in relation to the following problem would be greatly appreciated. Background to problem: I have a data table with portfolio ID column which there will be several customers...
- 1 year ago
Hi,
Please check the below picture and the attached pbix file.
It is for creating a calculated column.
Weightage CC = VAR _portfolio = Data[Portfolio] RETURN DIVIDE ( Data[Nominal amount], SUMX ( FILTER ( Data, Data[Portfolio] = _portfolio ), Data[Nominal amount] ) )
Kedar_Pande
1 year agoSuper User
Anonymous
Calculated column:
Weightage =
'Table'[Nominal amount] /
CALCULATE(
SUM('Table'[Nominal amount]),
ALLEXCEPT('Table', 'Table'[Portfolio])
)
💌 If this helped, a Kudos 👍 or Solution mark ✅ would be great! 🎉
Cheers,
Kedar
Connect on LinkedIn