Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. 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 |
---|---|
84 | |
77 | |
76 | |
43 | |
36 |
User | Count |
---|---|
109 | |
56 | |
52 | |
45 | |
43 |