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 am new to power bi. i have requirement to build dashboard for income statement in matrix layout. Need to show for every Line code, previous year total actuals and current year's monthly actual and forecast depending upon the selected year and month from the slicer.
the first column has to show header name "Previous Year" and followed by jan to dec with either sum of actuals or sum of forecast depending on the current month.
I am unable to show three metrics without being mutually exclusive.. i.e. i cant use IF or switch logic.
Any suggestion is much appreciated.
Thank you
Sid
In addition to above, the additional request is to show 0 for Previous Year if there is no data available.
Thank you
Sid
Thanks Rita.
The link to the pbix file is https://drive.google.com/file/d/1_j994pm-9CuLoNwnkflRGtKDd83xPHfR/view?usp=sharing
Please do let me know if you face an issue downloading it.
Below is the screenshort of the layout requested for the Income statement. I m struggling to put YTD total for previous year along with two other measures (Actuals and Forecast) measured for the months of reporting year. In the shared pbix file, I managed to report Actual / Forecast in brackets with dynamic column header names.
Below are the key measures / columns definitions that i m struggling with to present "Previous Year" along with months of the selected year in slicer. Most important measure to look at is 'SwitchedMeasure'. I feel it need an alternate function or logic in the place Switch function, so that all three measures (Previou Year, Actual Months and Forecast Months) can be shown instead of mutually excluding.
Hi @Sydsid
Please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.
How to Get Your Question Answered Quickly
User | Count |
---|---|
122 | |
77 | |
62 | |
50 | |
44 |
User | Count |
---|---|
175 | |
125 | |
61 | |
60 | |
58 |