Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I am trying to convert Excel sheet formulas to Power BI Dax. Right now I am facing an issue in converting one of the formula.
I have 3 columns date,value,result.
I am trying to write Dax for result column.
Result Excel formula is for every 1st day of the month should have same value and rest should use below calculation
(1+today value)*(1+previous day result)-1
Example:
1/1/2023:-0.20
1/2/2023:- (1+0.10)*(1+0.20)-1
1/3/2023:- (1+0.22)*(1+0.24)-1
Here is the sample data:
Date value result
1/1/2023 0.20 0.20
1/2/2023. 0.10 0.24
1/3/2023. 0.22 0.27
1/4/2023. 0.08 0.37
Could you please help me in achieving this calculation in power bi.
Solved! Go to Solution.
Hi @Svsp create two calculated columns as shown below.
Note for 2.1.2023 amount is 1,1*1,2-1=0,32 not 0,24
Proud to be a Super User!
Hi @Svsp create two calculated columns as shown below.
Note for 2.1.2023 amount is 1,1*1,2-1=0,32 not 0,24
Proud to be a Super User!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |