
R_Stables = 
// Ressources stables
CALCULATE (
    SUM ( Bilan[Montant_Cloture] ),
    Bilan[Famille_Bilan] IN {
   "Capitaux_Propres", "Provisions_LT", "Dettes_Financieres_LT"
    }
)


______________________________

Immo_Nettes =
CALCULATE (
    SUM ( Bilan[Montant_Cloture] ),
    Bilan[Famille_Bilan] = "Immobilisations_Nettes"
)


______________________________

FRNG = 
[Ressources Stables] - [Immo_Nettes]


______________________________

Actif_Expl = 
// Actif circulant d'exploitation
CALCULATE (
    SUM ( Bilan[Montant_Cloture] ),
    Bilan[Famille_Bilan] IN {
        "Stocks", "Autres_creances_CT", "Creances_Exploitation"
    }
)


______________________________

Passif_Expl = 
// Passif circulant d'exploitation
CALCULATE (
    SUM ( Bilan[Montant_Cloture] ),
    Bilan[Famille_Bilan] IN {
        "dettes_Fiscales_Sociales", "Autres_dettes_CT", "Dettes_exploitation","Dettes_Financieres_CT"
    }
)


______________________________

BFR = 
// Besoin en fond de roulement
[Actif_Expl]-[Passif_Expl]


______________________________

Tr_Active = 
CALCULATE (
    SUM ( Bilan[Montant_Cloture] ),
    Bilan[Famille_Bilan] IN {
        "tresorerie_Active"
    }
)


______________________________

Tr_Passive =
CALCULATE (
    SUM ( Bilan[Montant_Cloture] ),
    Bilan[Famille_Bilan] = "Tresorerie_Passive"
)


______________________________

Tr_Nette = 
// Trésorerie nette
[Tr_Active]-[Tr_Passive]
























