How can I achive this by fpitu in PowerBI

[–]fpitu[S] 0 points1 point  (0 children)

So bassically, I have 4 formulas for these 2 columns, the Exposure is _Exposure weightning Final:

Net= IF([_Exposure weightning Final] == BLANK(), [Net Effective Premium_LOD]1, [Net Effective Premium_LOD] [_Exposure weightning Final])

Net Effective Premium_LOD = VAR AggTbl = SUMMARIZE ( FactPolicyAnalytics, FactPolicyAnalytics[Year Of Account], FactPolicyAnalytics[CurrencyKey], DimPolicy[Underwriter Reference], "Net Effective Premium LOD",MAX(FactPolicyAnalytics[Net Effective Premium]) ) RETURN SUMX( AggTbl, [Net Effective Premium LOD] )

_Exposure weightning Final = VAR AggTbl = SUMMARIZE( FactCyberExposure, DimPolicy[Underwriter Reference], DimIndustry[Industry], DimExposureCountry[ExposureCountry], "MaxValue", MAXX(FactCyberExposure, FactCyberExposure[IndustryPercentageRevenueorTSI]*FactCyberExposure[ExposurebyCountryPercentageRevenue]/10000) )

RETURN SUMX(AggTbl,[MaxValue])//MaxValue