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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

Adding Percentage to column

Hey guys, Need some help here. I want to add a 10% change in a previous row item of the column. I am not able to write it in Dax
1 REPLY 1
Anonymous
Not applicable

@Anonymous Please try below measure to add 10 % of previous sales to current sales. I'm assuming you are identifying the previous sales based on date. If it does work please share sample data

Expected = 
VAR _prevdate = CALCULATE(MAX('Table'[Date]),FILTER(ALL('Table'[Date]),'Table'[Date]<MAX('Table'[Date])))
VAR _prevsales = CALCULATE(SUM('Table'[Sales]),'Table'[Date]=_prevdate)*0.10
RETURN CALCULATE(SUM('Table'[Sales]))+_prevsales

rahul.png

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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