We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi everybody
I 'm worwing whit a custom report and i use this Dax to calculate the value,
Saldo Balance=
SUMX (
Reporting_Balanace;
CALCULATE (
SUM (Consolidated [BALANCE]) / 1000 * -1;
FILTER (
ALL (Reporting_Balanace);
PATHCONTAINS (Reporting_Balanace [Path]; EARLIER (Reporting_Balanace [ID_Report_Balance]; 1))
)
)
)
This calculate works well, the poblem is when i try to accumulate the value month by mont
I've Tryed with the follow dax
Saldo total acumulado = CALCULATE([Saldo Balance]; FILTER(ALLSELECTED(Consolidada);Consolidada[Fecha]<=MAX(Consolidada[Fecha])))
Any idea how to do that works
Thank you very much for you time
Gabriel
Hi GabrielPuig,
So the table 'Consolidada' and 'Reporting_Balanace' are two tables, right? They have relationship, right? The issue may caused by you cannot use "allselected" in one table to filter another table. Suppose they have relationship based on column [Index], you may modify your measure like pattern below and check if it can solve your issue.
Saldo total acumulado =
CALCULATE (
[Saldo Balance];
FILTER (
ALL ( Reporting_Balanace );
Reporting_Balanace[Index] IN VALUES ( Consolidada[Index] )
)
)
Regards,
Jimmy Tao
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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 57 | |
| 38 | |
| 33 | |
| 19 | |
| 16 |
| User | Count |
|---|---|
| 68 | |
| 66 | |
| 41 | |
| 34 | |
| 25 |