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.
Hello everyone,
I need some urgent help with this one. I need to show the changes of the Total values, between the single forecast dates.
As in the Excel example the forecast date 01-2017 has the total value of 218.163, the change to the next forecast date (02-2017) is 13.700, and so on.
Is it possible to do it in Power Bi like in the excel example? If yes, do anyone have any idea?
Thank you guys in advance for your help 🙂
Solved! Go to Solution.
Hi @Billy0503,
To calculate the changes, you can firstly calculate the values of last month, then it should be easy to get the changes. The formula below is for your reference.
Changes = VAR currentYear = MAX ( 'Table'[Year] ) VAR currentMonth = MAX ( 'Table'[Year] ) RETURN SUM ( 'Table'[Values] ) - CALCULATE ( SUM ( 'Table'[Values] ), FILTER ( ALL ( 'Table' ), 'Table'[Year] = currentYear && 'Table'[Month] = currentMonth - 1 ) )
Regards
Hi @Billy0503,
To calculate the changes, you can firstly calculate the values of last month, then it should be easy to get the changes. The formula below is for your reference.
Changes = VAR currentYear = MAX ( 'Table'[Year] ) VAR currentMonth = MAX ( 'Table'[Year] ) RETURN SUM ( 'Table'[Values] ) - CALCULATE ( SUM ( 'Table'[Values] ), FILTER ( ALL ( 'Table' ), 'Table'[Year] = currentYear && 'Table'[Month] = currentMonth - 1 ) )
Regards
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
117 | |
84 | |
49 | |
38 | |
28 |
User | Count |
---|---|
185 | |
73 | |
73 | |
50 | |
42 |