Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Simple Excel Calculation to Perform in Power bi

Hi, 

I have this simple excel function and I am very new to DAX and measures and was wondering if there is a simple way to preform this task in power bi. 

 

HELP_PLS_0-1664352245998.png

My goal is for every new calcuated total the projected total value will update. 

 

Thanks!

 

3 REPLIES 3
PaulDBrown
Community Champion
Community Champion

What does your data look like?





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Anonymous
Not applicable

Hi, 

In power bi I transform my 2 rows of data  to 2 columns and they are both number columns with many rows. My goal is start to with a total and subract a value form the second column then update the total and subtract the next value from the second column. 

 

total 200 

column = 2

new total = 198 

so on... and create a new column 

Anonymous
Not applicable

I have tried this DAX instead, however, I keep getting an error with my index column I created in queary editory. 

 

HELP_PLS_0-1664446464589.png

 

 

Improvements =

DDBB[Total Column]
    - SUMX (
        FILTER (
            DDBB,
           DDBB[Index]< EARLIER(DDBB[Index])
        ),
        DDBB[Current Improvement1]
    )
 
 
 
Thanks!

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.