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] ) )
Jihwan_Kim
Super User
1 year agoHi,
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] )
)