Forum Discussion
Anonymous
6 years agoNot applicable
Calculate difference between cards in fully responsive report
Good afternoon, I am trying to insert a card that calculates the difference between two existing cards. The report that I would like to show makes it possible to show the sales of four different...
- 6 years ago
Hi Anonymous ,
You can create a 'What if' parameter and modify the [Measure2].
Measure 2 = CALCULATE( SUM(Sheet7[Sales]), FILTER( ALLSELECTED(Sheet7), Sheet7[Column] = MAX(Sheet7[Column]) && Sheet7[Year] = MAX(Sheet7[Year]) + [Parameter Value] ) )Please refer to my .pbix file.
Best regards,
Lionel ChenIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
6 years agoNot applicable
Hi Lionel,
Unfortunately it has not yet been solved. This would require the user to manually change the formula when selecting different years for the comparison.
Best regards,
Jan
v-lionel-msft
Community Support
6 years agoHi Anonymous ,
You can create a 'What if' parameter and modify the [Measure2].
Measure 2 =
CALCULATE(
SUM(Sheet7[Sales]),
FILTER(
ALLSELECTED(Sheet7),
Sheet7[Column] = MAX(Sheet7[Column]) && Sheet7[Year] = MAX(Sheet7[Year]) + [Parameter Value]
)
)
Please refer to my .pbix file.
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.