Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi i Need build a WaterrFall Chart
This is the Total Expression : Sum({$<ClaseInmueble = {'Principal'},FechaPactada={"<$(=date(today(), 'DD/MM/YYYY'))"},PerteneceANegocio={'1'} >} ValorPactado)-Sum({$<ClaseInmueble = {'Principal'},FechaPactada={"<$(=date(today(), 'DD/MM/YYYY'))"},PerteneceANegocio={'1'} >} ValorPagado).
And there are other expressions that make up the tota:
1) Sum({$<ClaseInmueble = {'Principal'},FechaPactada={"<$(=date(today(), 'DD/MM/YYYY'))"},PerteneceANegocio={'1'},NombreConceptoPago={'SEPARACION'} >} ValorPactado)-
Sum({$<ClaseInmueble = {'Principal'},FechaPactada={"<$(=date(today(), 'DD/MM/YYYY'))"},PerteneceANegocio={'1'},
NombreConceptoPago={'SEPARACION'} >} ValorPagado)
2) Sum({$<ClaseInmueble = {'Principal'},FechaPactada={"<$(=date(today(), 'DD/MM/YYYY'))"},PerteneceANegocio={'1'},
NombreConceptoPago={'ABONO A CUOTA INICIAL'} >} ValorPactado)-
Sum({$<ClaseInmueble = {'Principal'},FechaPactada={"<$(=date(today(), 'DD/MM/YYYY'))"},PerteneceANegocio={'1'},
NombreConceptoPago={'ABONO A CUOTA INICIAL'} >} ValorPagado)
3) Sum({$<ClaseInmueble = {'Principal'},FechaPactada={"<$(=date(today(), 'DD/MM/YYYY'))"},PerteneceANegocio={'1'},
NombreConceptoPago={'CESANTIAS'} >} ValorPactado)-
Sum({$<ClaseInmueble = {'Principal'},FechaPactada={"<$(=date(today(), 'DD/MM/YYYY'))"},PerteneceANegocio={'1'},
NombreConceptoPago={'CESANTIAS'} >} ValorPagado).
I´m tried copied the WaterFall Charth from visualization and finance control examples but is wrong. PLease Help Me i Attached QVW File
Hi Marcos,
Your problem is in your Bar Offset properties. Since you're starting each column to the right of the total column, you want to subtract these values from first the Total, then the Total - Column 1, then the Total - Column 2, etc...
For instance, here's the Bar Offset for your third column (Abono CI). Notice the sum for your Total, minus the sum of your second column, etc...
//Total first
(Sum({$<ClaseInmueble = {'Principal'},FechaPactada={"<$(=date(today(), 'DD/MM/YYYY'))"},PerteneceANegocio={'1'} >} ValorPactado)-
Sum({$<ClaseInmueble = {'Principal'},FechaPactada={"<$(=date(today(), 'DD/MM/YYYY'))"},PerteneceANegocio={'1'} >} ValorPagado))
- //...minus Separación column
(Sum({$<ClaseInmueble = {'Principal'},FechaPactada={"<$(=date(today(), 'DD/MM/YYYY'))"},PerteneceANegocio={'1'},
NombreConceptoPago={'SEPARACION'} >} ValorPactado)-
Sum({$<ClaseInmueble = {'Principal'},FechaPactada={"<$(=date(today(), 'DD/MM/YYYY'))"},PerteneceANegocio={'1'},
NombreConceptoPago={'SEPARACION'} >} ValorPagado))
- //...minus Abono CI column
(Sum({$<ClaseInmueble = {'Principal'},FechaPactada={"<$(=date(today(), 'DD/MM/YYYY'))"},PerteneceANegocio={'1'},
NombreConceptoPago={'ABONO A CUOTA INICIAL'} >} ValorPactado)-
Sum({$<ClaseInmueble = {'Principal'},FechaPactada={"<$(=date(today(), 'DD/MM/YYYY'))"},PerteneceANegocio={'1'},
NombreConceptoPago={'ABONO A CUOTA INICIAL'} >} ValorPagado))
And, don't forget that the last column to the right "ends" back at zero, so there's no need for Bar Offset for that one.
-DJ