Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi,
in query one project have same values, so need to bring one value with max condition to next column.Can you please help on this
Risk Custom = VAR MAXVALUE = CALCULATE(MAX('4 Risks Project'[ResidualRisk Indicator(Custom)]),ALLEXCEPT('4 Risks Project','4 Risks Project'[Project Name])) RETURN IF('4 Risks Project'[ResidualRisk Indicator(Custom)] = MAXVALUE,'4 Risks Project'[ResidualRisk Indicator(Custom)])
Solved! Go to Solution.
@sprao , Add an index column in power query and try like
risk Column =
var _max = maxx(filter('4 Risks Project','4 Risks Project'[Project Name] = earlier('4 Risks Project'[Project Name])),'4 Risks Project'[ResidualRisk Indicator(Custom)])
return
if([Index] = Minx(filter('4 Risks Project','4 Risks Project'[Project Name] = earlier('4 Risks Project'[Project Name]) && '4 Risks Project'[ResidualRisk Indicator(Custom)] = _max), [Index]), '4 Risks Project'[ResidualRisk Indicator(Custom)] , blank())
Power Query- Index Column: https://youtu.be/NS4esnCDqVw
Thank you , Perfect solution
@sprao , Add an index column in power query and try like
risk Column =
var _max = maxx(filter('4 Risks Project','4 Risks Project'[Project Name] = earlier('4 Risks Project'[Project Name])),'4 Risks Project'[ResidualRisk Indicator(Custom)])
return
if([Index] = Minx(filter('4 Risks Project','4 Risks Project'[Project Name] = earlier('4 Risks Project'[Project Name]) && '4 Risks Project'[ResidualRisk Indicator(Custom)] = _max), [Index]), '4 Risks Project'[ResidualRisk Indicator(Custom)] , blank())
Power Query- Index Column: https://youtu.be/NS4esnCDqVw
Thank you ,perfect solution
User | Count |
---|---|
116 | |
73 | |
60 | |
48 | |
48 |
User | Count |
---|---|
171 | |
122 | |
60 | |
59 | |
56 |