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! Learn more
Hi
Could you please help me to find a solution? The task is to calculate the deviations from the previous year by positions, provided that there is a zero value in the previous period. That is, the task is to counting in case if in last period this position value is zero. Data for the past period are calculated using the measure:
Hi @Anonymous
What is the purpose of the IF statement?
Hi
if value of position in previous year = 0 in this case need calculate difference between previous year and actual year. Indeed this is short version of formula, for checking work it or not
@Anonymous
But if the previous year is zero then the difference is just the current year! Also would you please clarify what are you slicing by in your report. Thank you
Indeed I need calculate mix factor,
I've got a lot of items, some of them were produced in this year, but weren't in previous? and some of them weren' produce this year, but were in previous period. And I need to calculate (Value per position this year - Value per position previos year) in case if or Value per position this year =0 or Value per position previous year =0. This is full task
Hi, @Anonymous
Can you share a sample file for further research?
Best Regards,
Community Support Team _ Eason
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 |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 11 | |
| 10 | |
| 10 | |
| 10 | |
| 8 |