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.
I have two columns
Value | Total |
10 | 600 |
20 | 600 |
40 | 600 |
30 | 600 |
10 | 600 |
80 | 600 |
20 | 600 |
40 | 600 |
Expected output is
Output |
590 |
570 |
530 |
500 |
490 |
410 |
390 |
350 |
Please suggest a DAX formula to perform this action.
Thanks in advance.
Solved! Go to Solution.
1. From your table display choose Edit Query
2. When the Query Editor Opens up choose AddColumn tab and Index Column from 0
3. Create RunTot columns as
RunTot = CALCULATE(sum(Table1[Value]), FIlter(Table1,Table1[Index]<=EARLIER(Table1[Index])))
( replace Table1 by the name of your table )
4. Create another column Final
Final = [Total]-[RunTot]
5. Plot the values in a Table Chart and you will get the desired output.
If this works for you please accept this as a solution and also give KUDOS.
Cheers
CheenuSing
1. From your table display choose Edit Query
2. When the Query Editor Opens up choose AddColumn tab and Index Column from 0
3. Create RunTot columns as
RunTot = CALCULATE(sum(Table1[Value]), FIlter(Table1,Table1[Index]<=EARLIER(Table1[Index])))
( replace Table1 by the name of your table )
4. Create another column Final
Final = [Total]-[RunTot]
5. Plot the values in a Table Chart and you will get the desired output.
If this works for you please accept this as a solution and also give KUDOS.
Cheers
CheenuSing
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
144 | |
75 | |
63 | |
51 | |
48 |
User | Count |
---|---|
204 | |
86 | |
64 | |
59 | |
56 |