Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi - I would like to make a YOY percentage change column in my matrix table.
Heres my sample dataset:
Category | Customer | Application Date |
A | NexSys Solutions | 1/12/2024 |
A | CloudBridge Innovations | 2/2/2021 |
B | Cognify Analytics | 3/7/2021 |
B | PrecisionMek Engineering | 4/7/2022 |
A | Titanium Dynamics | 6/10/2021 |
C | Capstone Advisors | 6/4/2023 |
B | BlueChip Financials | 4/12/2022 |
C | PrimeVest Partners | 5/12/2024 |
C | TransWorld Freight | 4/12/2023 |
My current matrix table is seen below - i basically want to make a percentage change column for A, B and C to show the x% decreased or increased from last year and if we drill down to months, it will also show the percentage change for that as well. Thanks
Solved! Go to Solution.
Hi @derekli1700
Make sure to use a separate dates table and mark it as a date table
Create a one-to-many single direction relationship
Create this measure
Delta =
VAR PrevYear =
CALCULATE ( [Count], SAMEPERIODLASTYEAR ( CalendarTable[Date] ) )
VAR Difference = [Count] - PrevYear
RETURN
DIVIDE ( Difference, PrevYear )
Please see attached sample pbix
Proud to be a Super User!
new learnings thank u boss 🙂
Please mark my post as solution if you post has been resolved based on your initital requirements.
Proud to be a Super User!
Hi @derekli1700
Make sure to use a separate dates table and mark it as a date table
Create a one-to-many single direction relationship
Create this measure
Delta =
VAR PrevYear =
CALCULATE ( [Count], SAMEPERIODLASTYEAR ( CalendarTable[Date] ) )
VAR Difference = [Count] - PrevYear
RETURN
DIVIDE ( Difference, PrevYear )
Please see attached sample pbix
Proud to be a Super User!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
144 | |
75 | |
63 | |
51 | |
48 |
User | Count |
---|---|
211 | |
86 | |
64 | |
59 | |
56 |