Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I have Client, Period and Hours column. Need to calculate Net change and %Growth columns in power BI
Please help in achieving this.
Hi @Vaibhav3008 ,
Can you please try the following?
Net change =
IF(
SELECTEDVALUE( 'Table'[Client] ) =
CALCULATE(
MIN( 'Table'[Client] ),
OFFSET(
-1,
ORDERBY( 'Table'[Client], ASC, 'Table'[Period], ASC )
)
),
CALCULATE(
MIN( 'Table'[Hours] ) -
CALCULATE(
MIN( 'Table'[Hours] ),
OFFSET(
-1,
ORDERBY('Table'[Client], ASC, 'Table'[Period], ASC)
)
)
)
)
% Growth =
DIVIDE(
[Net change],
CALCULATE(
MIN( 'Table'[Hours] ),
OFFSET(
-1,
ORDERBY( 'Table'[Client], ASC, 'Table'[Period], ASC )
)
)
)
Result:
If I answered your question, please mark my post as a solution.
Best,
Thanks for the reply,
I applied it to my table and it says : Parameter is not the correct type
Can you please help resolve it
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 6 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 11 | |
| 8 | |
| 8 | |
| 8 |