Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi,
I have the following columns in my model:
I'd like the column "Coste Consolidado" to sum all values in "Coste Mensual Estimado" BY PROJECT ( "Código").
As you can see, at the moment I am getting the sum of all projects.
¿any idea?
Thanks!
Solved! Go to Solution.
Cool ,
Coste Consolidado = var Project = Estimados[Código]
var Result = calculate ( sum ( Estimados[Coste Mensual Estimado ]) , filter (all(Estimados) , Estimados[Código]=Project ) )
Return Result
Try this one as a Cal Column
I think I've solved it using "Group By" in Edit Queries...but still, if someone knows a better option I would like to hear it!
Cool ,
Coste Consolidado = var Project = Estimados[Código]
var Result = calculate ( sum ( Estimados[Coste Mensual Estimado ]) , filter (all(Estimados) , Estimados[Código]=Project ) )
Return Result
Try this one as a Cal Column
Thanks @itchyeyeballs and @Baskar!
I got my Coste Consolidado, but now I want to sum my Actual Cost to Origin.
I need "Coste Actual Estimado" to be an accumulated value, something like this:
Coste Mensual Estimado | Coste Total 2015 | Coste Actual Estimado | |
Month | 0 | 50 | 50 |
January | 0 | 50 | 50 |
February | 0 | 50 | 50 |
March | 0 | 50 | 50 |
April | 0 | 50 | 50 |
May | 0 | 50 | 50 |
June | 0 | 50 | 50 |
July | 15 | 50 | 65 |
August | 10 | 50 | 75 |
September | 15 | 50 | 90 |
October | 0 | 50 | 90 |
November | 35 | 50 | 125 |
December | 40 | 50 | 165 |
Create one Measure
Coste Actual Estimado |
= sum( Coste Mensual Estimado) + sum(Coste Total 2015)
Thanks but it doesn't work for me, I think this formula gives you the sum per month and what I need is the accumulate.
The value should always grow, cause it is the sum of all previous months.
I'd consider making a measure for this rather than a calculated column, would give you more flexibility to slice and filter later on.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
144 | |
74 | |
63 | |
51 | |
47 |
User | Count |
---|---|
211 | |
85 | |
64 | |
59 | |
56 |