Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Proud to be a Super User!
Measure for 4th ( wrong) column
Col1-Col2*DinamicPercent
DinamicPercent =
IF(MAX(PercentTable[%])=0,[SomeProcentFromMeasure],MAX(PercentTable[%]))
SomeProcentFromMeasure =
Var Period1 =
CALCULATE (
[s],
DATESINPERIOD ( 'Date'[Date], LASTDATE ( 'Date'[Date] ), -12, MONTH ),
ALL(Table1),
ALL(Table2),
ALL(Table3)
)
Var Period2 =
CALCULATE (
[z],
DATESINPERIOD ( 'Date'[Date], LASTDATE ( 'Date'[Date] ), -12, MONTH ),
ALL(Table1),
ALL(Table2),
ALL(Table3)
)
Return
DIVIDE(Period1,Period2)
PercentTable
Code | %
Code1 | 0%
Code2 | 5%
Code3 | 5%
Proud to be a Super User!
It is to complex for s and z calculation, so say it Deb - cred from Table10
Proud to be a Super User!
should i post all 100 tables and 200 measures?
Hi @Analitika ,
It seems to be the issue of measure total, please refer to https://finance-bi.com/power-bi-totals-incorrect/
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
Solved.
NewMeasure=
SUMX(VALUES(PercentTable[CODE]),[4thcolMeasure])
i asked you what the calculations are for these measures, its impossible to help you without all the information
Proud to be a Super User!
User | Count |
---|---|
98 | |
91 | |
82 | |
73 | |
67 |
User | Count |
---|---|
115 | |
102 | |
98 | |
71 | |
66 |