Forum Discussion
Income Statement Custom Subtotal and hierarchy
Hi,
I think The best way to go through the whole process is to start organizing and grouping your GL accounts by their category and then create your measures.
In your Model, if you need to use Net Sales Value as it is you will need to create a column in you Data Table
Thanks aj1973
I have created a column as you suggested and a measure for net sales value.
How can I make it appear on matrix row without using switch?
- aj19735 years ago
Community Champion
Well there is 2 ways to achieve your goal.
The first is to follow the video that MattAllington attached(good video), the video is pretty much close to what you have as tables and columns in your Model.
My way however is different: I don't add columns nor Tables to the model. I only use the GL_transactions Table and a Calendar Table, I groupe the GL Accounts by their categories(Number then description) and i create measures for each group and Category. The reason : Measures don't take as much space in the Model as new Tables and Columns, they have better performance, easy to organize inside the Matrix(no need for Sort column), better performance in Power BI service and when it is Exported back from the service to Excel, at most the user will only need to transpose the columns rather than using Power pivot tables feature(in case some users don't know how to use Power Pivot). Also with measures you can build KPIs for Notifications in case there was a newly GL account added to the model, or to check the Balance if it is different than $0.
Sure my way is little longer way but better readable espacially when you name your measures correctly and accordingly.
Choose your way Pal,
- Anonymous4 years agoNot applicable
Hi aj1973 even I have a G/L table entries only and i have made measures for each and every Header as MattAllington mentioned in his video.
now challenge is I'm not able to make subtotal header.
Secondly i have a budget coming in excel format which i want to involve in the martix table and even for that i have made measures and when i put that total revenue measures in the matrix than it adds up in row level rather than column level.hope you get it.
- aj19734 years ago
Community Champion
Hi Anonymous
Not quite sure understood your request. However here is a video that could help "Maybe"
https://www.youtube.com/watch?v=neycI2arPbw
Let me know