Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Solved! Go to Solution.
Hi @assistant_sense ,
Here are the steps you can follow:
1. Create measure.
Measure =
var _maxvalue=MAXX(ALL('Table'),[Increase])
var _value=
IF(
MAX('Table'[Increase])=BLANK(),
DIVIDE(
SUMX('Table',[Decrease]),_maxvalue),
DIVIDE(
SUMX('Table',[Increase]),_maxvalue))
return
IF(
_value=BLANK() && MAX('Table'[Balance])<>BLANK(),
0,_value)
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @assistant_sense ,
Here are the steps you can follow:
1. Create measure.
Measure =
var _maxvalue=MAXX(ALL('Table'),[Increase])
var _value=
IF(
MAX('Table'[Increase])=BLANK(),
DIVIDE(
SUMX('Table',[Decrease]),_maxvalue),
DIVIDE(
SUMX('Table',[Increase]),_maxvalue))
return
IF(
_value=BLANK() && MAX('Table'[Balance])<>BLANK(),
0,_value)
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
User | Count |
---|---|
5 | |
5 | |
3 | |
2 | |
2 |
User | Count |
---|---|
9 | |
7 | |
5 | |
4 | |
4 |