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 datainput in a special structure and I want to keep this structure
The timestamp per period in datainput is within one field.
Is there a possibilty to create a measure to display the deviation (%) between timestamp 2020 to 2021
for example within a powerbi-matrix ?
Kind regards and thanks
Rainer
Solved! Go to Solution.
I would go for table instead of matrxi in case more years will be added to input data.
For the table you can create the following 3 measures:
2020 = CALCULATE(SUM('DataInput'[Sales]), FILTER('DataInput', 'DataInput'[time-stamp]=2020))
2021 = CALCULATE(SUM('DataInput'[Sales]), FILTER('DataInput', 'DataInput'[time-stamp]=2021))
Deviation = ([2021] - [2020]) / [2020]
I would go for table instead of matrxi in case more years will be added to input data.
For the table you can create the following 3 measures:
2020 = CALCULATE(SUM('DataInput'[Sales]), FILTER('DataInput', 'DataInput'[time-stamp]=2020))
2021 = CALCULATE(SUM('DataInput'[Sales]), FILTER('DataInput', 'DataInput'[time-stamp]=2021))
Deviation = ([2021] - [2020]) / [2020]
Thanks !
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!