Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
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!
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 46 | |
| 43 | |
| 39 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 68 | |
| 67 | |
| 31 | |
| 27 | |
| 24 |