Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
I have the following formula for percentage change. In the chart below, I only want to show the change for the current year. Is there a way to remove the change value for the previous year? So in this case, remove -15.70% from the table.
If you want to show values for LY (in this case, 2022), but not the % change from 2022 to 2021 I would do the following:
Proud to be a Super User! | |
You can try the following measure
Conditional Percentage Change =
VAR CurrentYear = YEAR(TODAY()) // Get the current year
VAR Change = [Percentage Change] // Replace with your actual measure for percentage change
RETURN
IF(YEAR([DateColumn]) = CurrentYear, Change, BLANK()
)
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
111 | |
109 | |
106 | |
90 | |
61 |
User | Count |
---|---|
165 | |
136 | |
134 | |
97 | |
86 |