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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I have a dataset of columns (Index & Step 1)
I am trying to achieve the below calculations for Step 2 and Final
Any suggestions? Thanks
Solved! Go to Solution.
@tamerj1 I attempted to replace the index row value from the matrix to Month-Year column (Sept 2022, Oct 2022, ...) - Now the numbers are not accurate, does this only work with index?
Hi @mo1988
Please refer to attached sample file with the solution
Step 2 =
VAR CurrentIndex = 'Table'[Index]
VAR TableBefore = FILTER ( 'Table', 'Table'[Index] < CurrentIndex )
VAR P1 = COUNTROWS ( TableBefore ) + 1
RETURN
SUMX (
TableBefore,
VAR X = 'Table'[Step 1]
VAR P = P1 - 'Table'[Index]
RETURN
( 0.5 ) ^ P * x
)
Step 3 = 'Table'[Step 1] + 'Table'[Step 2]
User | Count |
---|---|
15 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
31 | |
18 | |
15 | |
7 | |
5 |